Re: [xsl] Interation and Variables

Subject: Re: [xsl] Interation and Variables
From: James Fuller <jim.fuller@xxxxxxxxxxxxxx>
Date: Wed, 09 Feb 2005 13:24:44 +0100
Paulo Mendes Pinto wrote:

Tkx ...

This is not a elegant solution, but resolve the problem.

Thank you

PMP



since u have ugly xml....you could also simply generate a dummy file that has a sufficiently high enough number of elements

   <Index1 ID="1" Value="none"/>
   <Index2 ID="2" Value="none"/>
   <Index3 ID="3" Value="none"/>
   <Index4 ID="4" Value="none"/>
   <Index5 ID="5" Value="none"/>
   <Index6 ID="6" Value="none"/>
    .....

and perform a set intersection of this and your data xml (using perhaps EXSLT set functions) then apply normal template matching on the result...more ugliness admittedly.

gl, Jim Fuller

Current Thread