Hi Fred,

        the DOM API specifies that importNode returns a Node itself. I had
exactly the same problem as you...
        Try appending the imported node like this:

        rootElement.appendChild(rootDocument.importNode(snippetElement,
true));

        The 'true' argument is for deep-importing of the snippetElement,
i.o.w. it imports all children of snippetElement as well.

        Hope this works,

        Jonathan

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

Reply via email to