Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - Re: [xml-dev] XPath terminology >Thread Next - Re: [xml-dev] XPath terminology RE: [xml-dev] XPath terminologyTo: "'Tim Bray'" <tbray@----------.--->,"'Philippe Poulard'" <Philippe.Poulard@------.-----.--> Date: 3/3/2004 9:45:00 PM # > # > examples : # > /foo/bar[2]/oof[5]/@rab # > /foo/bar[2]/oof[5]/text()[2] # > # > is there a name or should i invent one ? # # I'm pretty sure that this is what Ted Nelson called a "Tumbler" in the # Xanadu terminology. -Tim It is not, of course, the simplest XPath expression to reach a given node. There are shorter expressions such as /*[1]/*[3]/*[4] Or (//*)[87] Both the above also have the great advantage that they have no dependency on namespace prefixes. Michael Kay | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
