Re: <xsl:value-of select="/ROW[$row]/@$col"/>
Michael, Thank you for your reply. It solves my problem. One of the reasons I am structuring data this way is that the HEADINGS section items also contain further information about the data attributes in a ROW : <ITEM NAME="FOUR" TYPE="Numeric"/> The document is dynamic, one instance may have 1 heading item with any name, the next may have 50 columns. I have always viewed my XML documents like Objects. An object gets a tag of its own, properties of the object are represented as attributes unless they are sub-objects in which case they get their own tag within the parent. Perhaps there is a better conceptual model to use? I would appreciate the enlightenment. Thanks again. - Ian Sparks. > This must come up a lot, but I can't find any references to it : > > A document structured like : > > <LIST> > <HEADINGS> > <ITEM NAME="ONE"/> > <ITEM NAME="TWO"/> > </HEADINGS> > <ROWS> > <ROW ONE="a" TWO="b"/> > <ROW ONE="x" TWO="y"/> > </ROWS> > </LIST> > 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