Re: Variable references in path expressions
"TAN Kuan Hui" <[email protected]> Mon, 2 May 2005 16:20:52 +0800
| Newsgroups | gmane.comp.web.query-languages |
|---|---|
| Organization | Xemantics Software Pte Ltd |
| Message-ID | <001001c54eef$e473c5f0$6402a8c0@pinecone> |
> > With a QName on the right, interpreting $a/xs:QName($b) to mean > $a/*[node-name()=xs:QName($b)] would make no sense at all in terms of "/" as > a mapping operator. Of course one could have overloaded the "/" operator > that way, but it would not have been a logical extension to the XPath 1.0 > meaning, and it would only create a shorter way of writing something that > can already be written with a predicate. > You are correct. I can now sleep in peace :)