Subject: RE: position() question From: Kay Michael <Michael.Kay@xxxxxxx> Date: Thu, 18 Nov 1999 10:51:45 -0000 |
> I'm a little bit confused about the return value of position(). > Given the following xml fragment: > <list> > <item name="one"/> > <item name="two"/> > <item name="three"/> > </list> > The <list> element has seven children, four of which are text nodes containing whitespace only. These are included in the numbering if they are included in the selection. You can either eliminate the whitespace nodes using <xsl:strip-space>, or you can select only the element children (or only the <item> children) for numbering. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: position() question, David Carlisle | Thread | RE: xt:mkdir, Smith, Brian BC SSI |
RE: Call for feedback : Update exte, Kay Michael | Date | RE: XSLT and XPath Recommendations, Richard Lander |
Month |