[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Create ID attribute to match xsl:number


Subject: RE: [xsl] Create ID attribute to match xsl:number
From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx>
Date: Thu, 12 Jun 2003 07:56:28 -0400

Ok, let me make that "embarassingly simple".

Thanks, Jarno.

-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: Thursday, June 12, 2003 7:51 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Create ID attribute to match xsl:number


Hi,

> 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

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

Cheers,

Jarno - The Cure: Wrong Number

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



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



Current Thread