|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Number error with XALAN
Well, i am running through an xsl:for-each "loop" and all i want is to have an increasing number starting from 1 just at the start of every line. like an <ol> in HTML 1).. 2).. 3).. my code is actually <xsl:variable name="c" select="1"/> <xsl:for-each select="Grafikauswertungen/MeilensteinTrendAnalyse/Meilensteine/Meilenstei n[not(MeilensteinBezeichnung = '')]"> <fo:block font-size="10pt" font-family="sans-serif"> <xsl:value-of select="$c" /> ) <xsl:apply-templates select="MeilensteinBezeichnung" /></fo:block> <xsl:variable name="c" select="$c+1"/> </xsl:for-each> but i know now that this is wrong, cause you can't apply a value to a variable a second time. ( although i dont understand why it is called a "variable" then... nevermind.) can you help me please? sascha On Mon, 20 Jan 2003 19:44:34 -0000 "Michael Kay" wrote: > > > > Thanks for your answers, i understand. > > but what is a solution for this? > > can anybody please advice? > > > > It's very hard to guess what the problem is by reverse-engineering > incorrect code. Tell us the problem, and we can tell you the answer. > > Michael Kay > Software AG > home: Michael.H.Kay@xxxxxxxxxxxx > work: Michael.Kay@xxxxxxxxxxxxxx > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > :::::::::::::::::::::::::::................ NEU** Partnerschaft mit notenbuch.de (Deutschlands umfangreicher Musiknotenversand) notenbuch - http://www.zanox-affiliate.de/ppc/?297008C1412642575 powered by EMUMAIL. -- http://www.EMUMAIL.com 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
|

Cart








