Hi Martin.

I'm so happy! The example that you posted helped me... :)
I'm using IE 6 and ASV 3. Thank you so much!

This article about SVG Server Side is interesting too..
http://www.xml.com/pub/a/2002/02/27/batik/index.html

Regards,

Verusa Domethildes



--- In [email protected], "Martin Honnen" 
<[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "Verusa Domethildes"
> <verusa@> wrote:
> 
> > 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);
> 
> Which SVG viewer are you using?
> If that is Adobe SVG viewer rendering your SVG in that HTML embed
> element named workArea then you need to employ the printNode 
function
> the viewer provides.
> If that is Firefox 1.5 rendering the SVG then you can use an
> XMLSerializer. Should work with Opera 9 preview too.
> 
> Getting at printNode, a function that the Adobe SVG viewer 
implements,
> from script in the HTML document is a bit convoluted, here is one
> example that works for me with IE 6 and Adobe SVG viewer 3:
> <http://home.arcor.de/martin.honnen/svg/test2006020601.html>
> 
> You could also put script in the SVG document that "exports" the
> printNode function with e.g.
>   parent.svgPrintNode = printNode
> and then call 
>   svgPrintNode(yourNode)
> with script in the HTML document in IE with the Adobe viewer.
>






-----
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