[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Travesing back up 'tree'

Subject: RE: Travesing back up 'tree'
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Mon, 6 Mar 2000 14:54:25 -0700
colin jeffrey
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.