Subject: How do I reference the name of a tag? From: jhbooth@xxxxxxxxxxxxx Date: Wed, 31 May 2000 10:45:32 -0700 |
If I have a source like this: <sometag>blah</sometag> <someothertag>blah blah</someothertag> that I want to transform to: <attribute name="sometag"> <value>blah</value> </attribute> <attribute name="someothertag"> <value>blah blah</value> </attribute> how can I get at the expanded-name of sometag and someothertag? I don't want to have a template match for sometag, because I don't know in advance what all the possible tags could be, so I want a template to match * and still produce the above. Any ideas? thanks, James Booth XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How do I reference the name of , Wendell Piez | Thread | RE: How do I reference the name of , Z. Uzmi |
RE: how to get the value ?, Heather Lindsay | Date | Re: === Identifying a unique node i, Khalid Asad |
Month |