>>>>> "SM" == Stuart McMahon <[EMAIL PROTECTED]> writes:

SM> Can someone tell me how to efficiently copy an element from one
SM> svg document to another.  After I parse the new document and find
SM> the required element I attempt to append it to the current
SM> document, but I get a DOMException: "The given node (type: 1,
SM> name: defs) was not created by the current document."

SM> I'm trying to copy the <defs> from one file to another.

    Element newDefs = (Element)newDoc.importNode(defsElem, true);

SM> thanks, Stuart.


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




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

Reply via email to