|
Hello, I have javabeans representing a schema S. I want to generate
an XML document A which is a copy of Schema_S_instance_doc.xml with the
contents of a node changed to another node (this replacement makes the new doc
invalid wrt to schema). A.xml neednt be valid wrt to Schema S. If I use javabeanObject.getNode.replaceChild then I am
getting an error org.apache.xmlbeans.impl.store.DomImpl$WrongDocumentErr:
Child to replace is from another document How can I avoid
this situation. Its ok for my copy xml to be invalid. |

