Re: [xml-dev] text nodes of document in XDM

From
Michael Kay <>
To
Date
2011-01-12T14:33:15Z
ID
<>
Thread
Re: [xml-dev] text nodes of document in XDM
> And once the document is serialized, if I use standard document
> serialization  http://www.w3.org/TR/xslt-xquery-serialization/
> for the document node.   I don't know how to get the document *back* into
> the original XDM form.

You can't. Standard document serialization loses too much information, 
for example it loses the type annotations on the elements and attribute 
nodes.

Michael Kay
Saxonica