Subject: RE: What does position() really return
From: "Evan Lenz" <elenz@xxxxxxxxxxx>
Date: Thu, 15 Mar 2001 15:20:37 -0800
|
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
| Current Thread |
- Re: Referencing a schema, (continued)
- David Carlisle - Thu, 15 Mar 2001 14:38:42 -0500 (EST)
- Raj Avula - Thu, 15 Mar 2001 14:52:04 -0500 (EST)
- Jan Mazac - Thu, 15 Mar 2001 17:18:06 -0500 (EST)
- Wendell Piez - Thu, 15 Mar 2001 17:48:55 -0500 (EST)
- Evan Lenz - Thu, 15 Mar 2001 18:08:26 -0500 (EST) <=
- Michael Kay - Fri, 16 Mar 2001 05:05:21 -0500 (EST)
- Jan Mazac - Fri, 16 Mar 2001 06:24:37 -0500 (EST)
- Tim Watts - Thu, 15 Mar 2001 17:35:24 -0500 (EST)
- Michael Kay - Fri, 16 Mar 2001 06:28:06 -0500 (EST)
|
|