On Mon, 2013-01-28 at 16:27 -0500, Wendell Piez wrote: [...]
- I see examples like [A] offered frequently in the XQuery
literature, of "text()" being used apparently to refer to an element's string (text) value not to its text node children.
I think it common for people to suppose text(foo) returns foo as a string, i.e. as what they think of as text, rather than being a node test. I innded to mention this in the XQuery chapter of "Beginning XML" but I do not remember now whether or not I did so.
Liam