This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: XPath question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]