Subject: [xsl] using attribute value as an attribute name OR using element value as an attribute name From: ross@xxxxxxxxxxxxx Date: Wed, 18 Sep 2002 09:52:30 -0700 |
Folks, I have a list of columns in a config block, and some data in row tags, as shown below: <?xml version="1.0"?> <root> <config> <columnList> <column name="column1"/> <!-- could change to element text instead of attribute <column name="column2"/> <column name="column4"/> </columnList> </config> <row column1="c1r1" column2="c2r1" column3="c3r1" column4="c4r1"/> <row column1="c1r2" column2="c2r2" column3="c3r2" column4="c4r2"/> <row column1="c1r3" column2="c2r3" column3="c3r3" column4="c4r3"/> <row column1="c1r4" column2="c2r4" column3="c3r4" column4="c4r4"/> <row column1="c1r5" column2="c2r5" column3="c3r5" column4="c4r5"/> </root> What I want to dow is iterate the rows, only showing those columns defined in config/columnList. Seems easy, but I've been going mad trying to figure out how. :-) I would be insanely grateful for whatever help anyone can provide. Without help, I'm merely insane. :-) Thanks. == Ross == Ross W. Lambert, Senior Software Engineer Who's Calling, Inc. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Date conversion, Shaikh, Neelkamal (M | Thread | Re: [xsl] using attribute value as , David Carlisle |
RE: [xsl] Date conversion, Shaikh, Neelkamal (M | Date | Re: [xsl] using attribute value as , David Carlisle |
Month |