|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Travesing back up 'tree'
Jeffrey Colin wrote: > Before printing out the data at the cells level I need to > use an <xsl:when test against an attribute at the > tablecolumns level. How do I get back to that level now > that I'm dealing with cells data?? starting at the cell element, you can go "up" to the parent by using the '..' shorthand in an XPath expression: select="../../../table/tableColumnlist/tablecolumns" or, if there's only one table and tableColumnlist, there's no need to start at the cell element; select="/output/table/tableColumnlist/tablecolumns" 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
|

Cart








