|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Creating a number new nodes in a tree based upon a
Robert,
Another way to do this is to fake a loop using the nefarious <xsl:for-each> .... <xsl:template match="TAG">
<TABLE>
<TR ID="@ID">
<xsl:for-each select="//*[position() <= @Value]">
<TD></TD>
</xsl:for-each>
</TR>
</TABLE>
</xsl:template>Of course, this is a truly horrible departure from the True Way and I'd have to report to the authorities anyone I discovered doing it. (Not only is it unconscionable heresy; it only works if the value of @Value never gets higher than the total number of nodes in your source document.) Cheers, Wendell </xsl:template>At 06:14 PM 1/8/01 -0800, you wrote: Ok, I think the answer is "no", but I'm still curious to ask.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








