Subject: RE: Re: [xsl] Introducing a comma. From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 18 Nov 2003 21:51:56 GMT |
<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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: [xsl] Introducing a comma., Paul DuBois | Thread | RE: RE: Re: [xsl] Introducing a com, cknell |
RE: [xsl] call-template from href N, Patricia LaRue | Date | Re: [xsl] Re: XPATH, poppe chris |
Month |