Re: [xslt] xsl:number level="multiple"



John Fleck writes:
 > I have no idea if this is the Right Way(tm), but this works:
 > ***************
 > <xsl:template match="a">
 >     <xsl:number level="multiple" format="1.1.1" />
 >     <xsl:apply-templates/>
 >   </xsl:template>

yes, but

 a) it shouldnt be needed. the format should be extended as needed.
 b) try format="1.1.1.1.1.1.1.1"  and watch it generate

   1.1.
    1.1.1.
    1.1.2.
   1.2.


 note the spurious closing "."

there is *some* bug here...


Sebastian





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]