This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: What does position() really return
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] What does position() really return
- From: "Evan Lenz" <elenz at xyzfind dot com>
- Date: Thu, 15 Mar 2001 15:20:37 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
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