xsl-list
[Top] [All Lists]

Re: [xsl] [XSLT] Put element in new-line

2008-03-06 07:26:08
Florent Georges schrieb:
Michael Ludwig wrote:
   <xsl:template match="/">
     <xsl:apply-templates select="node() | @*"/>
   </xsl:template>

  The usual Identity Transform Pattern [...]
  Adding the rule for the document node won't change anything (well,
except if your serializer behaves differently whether it gets a
document or an element node, what is unlikely, especially if you use
xsl:output.)

That's true - the rule for the document node is not needed here.

Thanks,

Michael

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>