Re: [xsl] position()

Subject: Re: [xsl] position()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 2 Apr 2001 14:26:39 +0100
> What's the best thing to change it
> to then so that the comments are not included?

don't select the comments.

If you go use apply-templates with no argument then the current node
list will include all nodes including comments and white space text

If you don't want that, then use select="*" just to select elements.

Or use xsl:number rather than position()


This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:

Current Thread