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
--~------------------------------------------------------------------
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>
--~--