Subject: [xsl] variable autoincrement From: "Dionisio Ruiz de Zarate" <dionisio@xxxxxxxxxxxxx> Date: Thu, 11 Mar 2004 16:35:05 +0100 (CET) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Core / memory errors with, Rob Johnston | Thread | [xsl] problem converting xml to exc, Anna Bikkina |
Re: [xsl] Is exclude-result-prefixe, David Carlisle | Date | RE: [xsl] mediaobject on titlepage, Schreifels, Mark J. |
Month |