Hi
Once again a basic question, but still I'm trying to clone the xml root
node, and I get following error:
java.lang.NoSuchMethodError: org.w3c.dom.Node: method
getLocalName()Ljava/lang/String; not found
at
org.apache.xerces.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:909)
at
org.apache.xerces.dom.CoreDocumentImpl.cloneNode(CoreDocumentImpl.java:348)
at
org.apache.xerces.dom.DocumentImpl.cloneNode(DocumentImpl.java:202)
The source code is:
Document clonedTree = rootNode.cloneNode(true);
If this way is not proper to clone xml documents, could somebody tell me
the correct way to clone
nodes.
Yours,
Jouko
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]