[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] variable autoincrement
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|