I think problem is because you are using
the Element method toString() to serialize the node toString produces a string representation of the node - but it is not an XML document - This method
is really only for debugging
To get an XML document
use the TaminoResult method toXMLString(node)
Documentation
java.lang.String toXmlString(org.w3c.dom.Node n)
This converts a DOM Node into a raw XML string.
like this
xml= myResult.toXMLString(myElement);
The Docuverse DOM has a class XMLWriter that is a kind of generalization of this.
[This message was edited by Nigel Hutchison on 05 Dec 2001 at 12:20.]
#webMethods#Tamino#API-Management