This is a Xerces question, not a Xalan question. Please ask over there.
Gary
kkumari wrote:
>
> Hi,
> I have a problem while appending nodes to the existing Dom Structure.
> I have an XML string which i get from an XML Database. Now i convert that
> into a Document node using DomParser. I have one Element called links in the
> Domtree. Now if i try to create a new Element called links and try to append
> it to the existing DomStructue i get DOM008 Exception. Then i tried using
> insertBefore() at the location where this node is supposed to go. This time
> i get Dom006 Exception. I tried replaceChild() also. Nothing worked.I don't
> undersatnt why i get DOMExceptions when i am trying to do valid operations.
> Can anyone help me out?
> Thanks,
> kusuma