[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] XPath question
Subject: RE: [xsl] XPath question From: "Stuart Celarier" <stuart@xxxxxxxxxxx> Date: Fri, 17 May 2002 09:32:10 -0700 |
Roger, In XPath, the term 'child' means immediate descendant, just like it does in English. Your great-great-grandchildren are not your children [1] they are your descendents, and you their ancestor. In XPath an internal / means child, // means descendant. These are both abbreviations for the child:: and descendant:: axes, respectively. Take a look at http://www.w3.org/TR/xpath#path-abbrev for more. Cheers, Stuart [1] Although cyclic relationships do occur among humans, see "I'm My Own Grandpa" (Lonzo and Oscar), e.g., http://users.cis.net/sammy/grandpa.htm. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPath question, Varley, Roger | Thread | RE: [xsl] XPath question, Macaulay,Malcolm (US |
RE: [xsl] Document() and &, Stuart Celarier | Date | RE: [xsl] Document() and &, Stuart Celarier |
Month |
Keywords