Hi.

I'm have a svg application that user create elements like circles, 
ellipses and others. He create this elements in a rectangle 
called "workArea". When the user create a element, I append to 
workArea. So, I'd like to transform the svg resultant to string. How 
can I do it?

I have a HTML file with two svg documents: workArea.svg and menu.svg.

I'm using this code in HTML file, but it's returning "undefined".

        var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
        var svgDoc = document.embeds["workArea"].getSVGDocument();
        var workArea= svgDoc.getElementById("workArea");
        var markup = workArea.xml;
        alert(markup);

Thanks,

Verusa






-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to