This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: What does position() really return


Wendell's answer is sufficient, but it might also be worth noting that if
you say <xsl:apply-templates select="*"/>, you'll also get the result you
expected, because it selects only child *elements*, excluding any text
nodes.

<xsl:apply-templates/> without any attributes will always select all
*children*, which include any elements, processing instructions, comments,
and text nodes.

Evan


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]