Re: Variable references in path expressions
"TAN Kuan Hui" <[email protected]> Fri, 29 Apr 2005 09:58:54 +0800
| Newsgroups | gmane.comp.web.query-languages |
|---|---|
| Organization | Xemantics Software Pte Ltd |
| Message-ID | <005e01c54c5f$1cae3470$6402a8c0@pinecone> |
> > > > > > I have a problem with this interpretation. The lhs of "/" > > iterates each item > > to establish the focus for evaluation of each item in the rhs > > expression. Yes ? > > Now if each item is a QName, then this should be interpreted as a > > Name test. No ? > > No. > > The value of the expression "my:idea" is the string "my:idea", it is not the > value of the expression ./child::my:idea. Values are treated as values, not > as expressions to be evaluated. > This position changes the semantics of the path expression as a node selector.