I couldn't call it in the way that you specified, but I was able to call it this
way:
ByteArrayOutputStream bao = new ByteArrayOutputStream();
XMLSerializer s = new XMLSerializer();
s.serialize(doc, bao, null);
return bao.toString();
However, this is throwing UnsupportedEncodingException.
I tried walking through the code and it seems to break on the following line in
BaseSerializer.init():
init( new OutputStreamWriter( output, encoding ), format );
I don't know if this has anything to do with the fact that the Java compiler
being used is MS-J++
at this client site or not. I'm not sure which compiler and JDK version the
Xerces library was compiled with.
Ken R.