Re: XQuery Predicate syntax
Philippe Michiels <[email protected]>
| Newsgroups | gmane.comp.web.query-languages |
|---|---|
| Organization | Universiteit Antwerpen |
| Message-ID | <[email protected]> |
These two queries are different: > //student["Adam"]/advisor In this query, the predicate's effective boolean value is computed and, as it is a non empty string, it evaluates to true. > //student[text () = "Adam"]/advisor This query selects all students where the combined text nodes are equal to "Adam". Best, Ph -- Philippe Michiels Universiteit Antwerpen ADReM (Advanced Database Research and Modelling) http://www.adrem.ua.ac.be/~michiels