Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: A question about XPath filters (predicates) A question about XPath filters (predicates)To: NULL Date: 10/6/2007 1:14:00 AM Hi all, What does something like [/a/b] mean in an XPath query like /c/d[/a/ b] ? If I am not wrong, /c/d[./a/b] means return all d elements that their parent is c and their grand parent is the root element and have a child that is a and their a child has a child b. But I don't know when we don't use an expression that starts with ./ or .// in a predicate and instead use an epxression that starts with / or // what it would mean. Does /c/d[/a], for example, mean return all d elements that have a parent (c with a parent root) only if the root has a child a? Thanks in advance. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
