Subject: RE: Travesing back up 'tree' From: Mike Brown <mbrown@xxxxxxxxxxxxx> Date: Mon, 6 Mar 2000 14:54:25 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Travesing back up 'tree', Collin, Jeffrey | Thread | matching a substring of an element, Judi Thomson |
differences, Carole E. Mah | Date | Re: matching a substring of an elem, David Carlisle |
Month |