Use DOMImplementation.createDocument to create the new Document node and
root element, use the importNode operation to clone the existing
DocumentFragment or nodes from the NodeList into a form compatable with
this new document, insert the latter into the former.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to