xsl-list
[Top] [All Lists]

variable autoincrement

2004-03-11 08:35:05
hello
i have one great problem.
i have the bellow code .
whit the code i want to sum to one variable 1 value for loadin oe
"autoincrement.
can you help me?
thanks

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output method="html" version="1.0" encoding="ISO-8859-1" indent="yes"
omit-xml-declaration="yes"/>
<xsl:strip-space elements="*"/>
<xsl:variable name="header">
<xsl:value-of select="position()"/>
</xsl:variable>
<xsl:template match="/">
<xsl:for-each
select="sn_servicioproyecto/informacion/sn_masterinformacion/masterinformacion_id">
<xsl:copy-of select="$header + 1"/>
</xsl:for-each>
        <xsl:value-of select="$header"/>
</xsl:template>
</xsl:stylesheet>

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



<Prev in Thread] Current Thread [Next in Thread>
  • variable autoincrement, Dionisio Ruiz de Zarate <=