Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Looping a node in XSLT


Subject: Re: [xsl] Looping a node in XSLT
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 07 Mar 2007 00:37:16 +0100

Senthilkumaravelan Krishnanatham wrote:
Hi All,
I have requirement to loop through the node N number of times,
Is there any way I can accomplish in XSLT?

With pure XPath:


for $x in 1 to 20 return yourNodeSetHere

Or in XSLT:

<xsl:for-each select="1 to 20"> ....



Cheers,
-- Abel Braaksma
  http://abel.metacarpus.com


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor