[xsl] Create ID attribute to match xsl:number

Subject: [xsl] Create ID attribute to match xsl:number
From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx>
Date: Thu, 12 Jun 2003 07:42:14 -0400
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


Current Thread