<x-tad-smaller>Use Document2.importNode(GroupNodeFromSVG1, true), to clone the first document
'under' the new document. Then just append the result where you
want it in the parent document.

In regards to stylesheets, it is your responsibility to make sure that both documents share a compatible sheet. If you are certain that both documents do not have colliding stylesheets and do not share any style class names, you may import the style element from the second SVG to the first before you import the node. The style element is represented in the DOM by a SVGStyleElement and you can get to it by doing a svgDoc.getElementByTagName("style") [Note: i have not tested that this actually works]

Andres T.
</x-tad-smaller>

On Mar 10, 2005, at 9:00 AM, Strapz wrote:

Hi all, I have a question;
If I have 2 SVG file, first.svg and second.svg, how can I import on
second.svg a group node of first.svg working with Documents at runtime,
make attention to style sheets?

Is it possible? Thanks


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


Reply via email to