xsl-list
[Top] [All Lists]

Create ID attribute to match xsl:number

2003-06-12 04:42:14
I have a <step> element that nests to an unknown number of levels. In the
xsl stylesheet I apply the following within a template (I've left out the
table formatting, etc.)

        <xsl:number level="multiple" count="step" format="1.1"/>

Simple, I know.  I also need to create an ID attribute node for each step.
The ID needs to match the number applied above, e.g., Step 1.2's @ID would
be 1.2

I'm sure it's simple, I'd just not getting it.

Thanks, Kathy


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



<Prev in Thread] Current Thread [Next in Thread>