Hi Thomas,

On 12/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

    Small mistake:

>         batik.dom.svg.SVGDOMImplementation domImpl = new
> SVGDOMImplementation;
>         SVGDocument doc = domImpl.createDocument(SVG_NS, "svg", null);
>         doc.appendChild(doc.importNode(otherSVGElement, true));

    The last line should be more like:
        doc.getDocumentElement().appendChild(...);


Okay.

   The createDocument creates the Document Element (you may want to
replace that in
your case, see Node.replaceChild).


Ahh.  That looks like the right way to go for me.

Your help is much appreciated Thomas.

    Phil

--
Visit http://www.darkisle.com for photos of castles, cairns and other
historic sites in the British Isles.

Reply via email to