actually using text() makes your code more fragile. If the input has
any comments for example...
Using text() can also give problems with XPath processors running
against a DOM, if they fail to normalize the DOM so that it has no
adjacent text nodes. Adjacent text nodes occur quite often in DOM, for
example when CDATA sections or entity references are used. A conformant
XPath processor should treat a group of adjacent text nodes as a single
node, but not all do so.
Michael Kay
Saxonica
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--