This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [XSLT] [Q] Recursion Question/Concern


Just cut'n'pasted this together, but you could try something like this:

 <xsl:template match="/">
  <xsl:for-each select="/DATA/RECORD">
   <xsl:value-of select="concat(position(), '|', INFO1)"/>
  </xsl:for-each>
 </xsl:template>

Or if you want to be a bit more adventurous look up xsl:number.

Francis.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]