A
Achille
Hi to everybody,
I want to use the DOMparser to insert a new Node in my DOM tree.
Can you furnish me an example?
I thought about using the insertBefore but I have not succeeded in
understanding whether to use it.
You see my code:
Node m = null;
m = node.cloneNode(false);
node.insertBefore(m,node)
but don't work.
I take this error:
org.apache.xerces.dom.DOMExceptionImpl: DOM008 Not found
Thanks!
I want to use the DOMparser to insert a new Node in my DOM tree.
Can you furnish me an example?
I thought about using the insertBefore but I have not succeeded in
understanding whether to use it.
You see my code:
Node m = null;
m = node.cloneNode(false);
node.insertBefore(m,node)
but don't work.
I take this error:
org.apache.xerces.dom.DOMExceptionImpl: DOM008 Not found
Thanks!