[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] using attribute value as an attribute name OR using el
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|