"If the node does not have a typed value an error is raised
[err:FOTY0012]."
When would that error occur? data() seems to work fine on
untyped XML...
It occurs when the node is an element with element-only content (which
necessarily means it is schema-validated). For example the person element in
<person><first>Michael</first><last>Kay</last></person>
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--