Subject: [xsl] Indexing in xsl From: "Bharathy Itnal" <bharathy_itnal@xxxxxxxx> Date: Thu, 21 Feb 2002 18:49:46 +0530 |
Hi, I wanted to know how (if) we can do indexing on a element name I have a input xml: <orders> <order id="1"> <order id="2"> <order id="3"> <order id="4"> . <orders> which has to be converted to <orders order1-id="1" order2-id="2" order2-id="3" order2-id="4" /> Is this right? <xsl:attribute name="{concat(local-name(), 'var', '-','id')}"> <xsl:value-of select="@id"/> </xsl:attribute> How do I change the val of 'var' Any pointers on this? Thanks, ~Bharathy XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: RE: FXSL -- a functional , Dimitre Novatchev | Thread | Re: [xsl] Indexing in xsl, David Carlisle |
[xsl] Re: RE: FXSL -- a functional , Dimitre Novatchev | Date | [xsl] embedded <xsl-for-each>, Sébastien Tisserant |
Month |