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] Fwd: XSLT 2.0 Determining Position of Sequence Item During "for expression" evaluation


Subject: Re: [xsl] Fwd: XSLT 2.0 Determining Position of Sequence Item During "for expression" evaluation
From: "John McGowan" <john@xxxxxxxxxxx>
Date: Fri, 16 Mar 2007 21:47:11 -0500

On 3/16/07, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:


for $cnt in count( $pages ) return ( ( for $cnt2 in $cnt, $p in 1 to $cnt2 - 1 return ($pages[$p], '>') ), $pages[$cnt] )


Thanks Dimitre! That works. I'll remember that nesting approach in the future.


However, string-join is just too easy to pass up. :)


-- John McGowan Seven A C Consulting, Inc.


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