Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Question regarding XSL >Thread Next - Re: Question regarding XSL Re: Question regarding XSLTo: NULL Date: 9/15/2009 5:54:00 PM I am trying to draw SVG using the information in an XML using XSL. So
basiccally for this purpose inside a for loop i need to keep track of
the coordinates.
For instance something like this :
<xsl:variable name="xcoord" select="10"/>
<xsl:variable name="ycoord" select="10"/>
<xsl:for-each ......>
<draw rectangle at xcoord and ycoord/>
<update value of xcoord and ycoord>
</xsl:for-each>
so i need to figure out a way to update a values of xcoord and ycoord.
I cannot use the position() function for this since the update depends
on a third variable 'height' which is constantly changing .. so new
ycoord = ycoord + height.
Thanks
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
