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 |
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"> <DIV> <A name="div{xsl:number}"><xsl:process-children/></A> </DIV> </xsl:template> and the result would look like <DIV> <A name="div1"></A> <H1>etc</H1> </DIV> <DIV> <A name="div2"></A> etc </DIV> I am using jclark's xt - but is this possible in the current xsl spec? Cheers, Glenn -------------------- 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: RE: More fun with MSIE, Steve Muench | Thread | Advice needed on an XSL v/s DOM iml, Amit Rekhi |
Re: XSL Requirements (was: Microsof, James Tauber | Date | Re: Doubt regarding content model o, Don Day |
Month |