Subject: Re: [xsl] Compact XPath syntax From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 26 Dec 2007 09:32:34 -0500 |
Incidentally, for the above example, I would write the expression as: //c[parent::b] //c[parent::f] (in these examples, we filter nodes using a predicate).
//b/c //f/c
or //c (if you want to select all 'c' elements everywhere in the tree).
-- Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Compact XPath syntax, Mukul Gandhi | Thread | Re: [xsl] Compact XPath syntax, Mukul Gandhi |
Re: [xsl] stylesheet expansion, Geert Bormans | Date | Re: [xsl] Compact XPath syntax, Mukul Gandhi |
Month |