xsl-list
[Top] [All Lists]

Re: [xsl] Looping a node in XSLT

2007-03-06 16:39:05
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>