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: [xsl] a nicer total sibling count than this


Subject: Re: [xsl] a nicer total sibling count than this
From: "Stewart C. Russell" <scruss@xxxxxxxxxxxx>
Date: Thu, 19 Sep 2002 22:25:44 -0400

Michael Kay wrote:

Using position() and last() will often be more efficient than using count() and xsl:number, because they work on the current node list, which you are using anyway to output the nodes.

thanks for that. Efficiency is important here, as it's likely that such a template would be called in the order of tens to hundreds of thousands of times in a typical dictionary.


And here's me thinking that TIMTOWTDI only applied to Perl ... ;-)

cheers,
Stewart



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