xsl-list
[Top] [All Lists]

Re: Iterative variation of attributes

2004-03-03 05:44:05

so long as your source tree has at least 70 nodes,

<xsl:for-each select="(//node()}[position() &lt;= 70]">
 <line x1="{position()+15}%" yi=85%" x2="{position()+15}%" yi=15%" />
</xsl:for-each>

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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