xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Re: [xsl] Introducing a comma.


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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor