xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bibek Sahu <scor...@dodds.net>
Subject Re: SVGDOM: Merging two Documents...
Date Fri, 06 Feb 2004 16:25:57 GMT


You need to use org.w3c.dom.Document.importNode(Node importedNode, boolean deep).

Good luck,
- Bibek

On Fri, 6 Feb 2004, Jody Schofield wrote:

> Has anyone copied nodes from one document into another?  I have a wrapper
> around the SVGGraphics2D object and on my wrapper I'm trying to add an
> interface that passes in an SVG image.  I'm going through the children of
> the SVG Image and trying to add the nodes using the SVGGraphics2D
> DOMTreeManager as a new group.  The group is created from the document.
> Here is the error message I get:
> org.w3c.dom.DOMException: The given node (type: 1, name: g) was not
> created by the current document.
> thanks for all replies.
> regards,
> Jody

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message