[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Including xsl:number as part of output tag attribute?

Subject: Including xsl:number as part of output tag attribute?
From: "Glenn R. Kronschnabl" <grk@xxxxxxxxxxxxxxxx>
Date: Mon, 16 Nov 1998 09:49:53 -0600
xsl number tag
I would like to be able to autogenerate name="uniquenumber" attributes so 
I can generate a toc.

i.e, a template that looks something like,

<xsl:template match="div">
  <A name="div{xsl:number}"><xsl:process-children/></A>

and the result would look like

    <A name="div1"></A>

    <A name="div2"></A>

I am using jclark's xt - but is this possible in the current xsl spec?

Glenn R. Kronschnabl
Applied Research Laboratories        | grk@xxxxxxxxxxxxxxxx (PGP/MIME ok)
The University of Texas at Austin    | http://www.arlut.utexas.edu/~grk
PO Box 8029, Austin, TX 78713-8029   | (Ph) 512.835.3642 (FAX) 512.835.3808
10,000 Burnet Road, Austin, TX 78758 | ... but an Aggie at heart!

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.