[xsl] Iterative variation of attributes

Subject: [xsl] Iterative variation of attributes
From: i92agcad@xxxxxx
Date: Wed, 03 Mar 2004 13:14:13 +0100 (MET)

 I have a template like this... 

 <xsl:template name="dibujaEje">
  <line x1="16%" y1="85%" x2="16%" y2="15%"/>
  <line x1="17%" y1="85%" x2="17%" y2="15%"/>
   :    :             :                :
  <line x1="84%" y1="85%" x2="84%" y2="15%"/>
  <line x1="85%" y1="85%" x2="85%" y2="15%"/>


 The attributes of the element line, x1 and x2 change from 16% to 85%...

 How i could simplify this and haven't to write all the lines?¿?


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

Current Thread