DOM error meaning "that node isn't allowed to be the child of this node." (The DOM enforces some -- not all -- well-formedness constraints.)
Make sure you're appending the new Element to the root element, not to the Document node.
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"may'ron DaroQbe'chugh vaj bIrIQbej" ("Put down the squeezebox and nobody gets hurt.")
- Getting error HIERARCHY_REQUEST_ERR ?!? Brice Ruth
- Re: Getting error HIERARCHY_REQUEST_ERR ?!? Richard Rowell
- Re: Getting error HIERARCHY_REQUEST_ERR ?!? Brice Ruth
- Re: Getting error HIERARCHY_REQUEST_ERR ?!? Joseph Kesselman