29 Jan
2013
29 Jan
'13
1:38 a.m.
On Mon, 2013-01-28 at 16:27 -0500, Wendell Piez wrote: [...]
2. 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 -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml Co-author, 5th edition of "Beginning XML", Wrox, 2012