xsl-list
[Top] [All Lists]

RE: Re: Introducing a comma.

2003-11-18 14:51:56


        <xsl:if test="not(position() = last())">

you are relying on the position in the current node list for these
templates, and since that is the default selection for apply-templates
it includes text nodes, so your last node is the white spece text.
If you use xsl:apply-templates select="*" you'll only have elements and
it'll work.

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

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