|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XPATH question
> Now, I can do this if I select the sumStat matching my > criteria and then its > parent, something like > select="fullPathToSumStat/sumStat[@type='vald'][. > > 4]/parent::*" (untested) > > but is there some way to do this avoiding using an axis? You can't do anything in XPath without using an axis, but you can avoid going down and then back up: fullPathToSumStat[sumStat[@type='vald'][. > 4]] This expression uses the child axis twice, the attribute axis once, and the self axis once. Michael Kay 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








