Hello

I'm trying to write the current state of an SVG image to file via external 
javascript . The only way I know of, is to use the printNode() function, but 
that only appear to work if your script is inline(in the SVG file).

 

My dilemma is this: 

I have an SVG file embedded in a 3rd party web app(Geomedia Webmap). There is a 
button which calls a .js onClick.

I can access the SVGDocument well enough through the DOM, but I can't figure 
out how to save to to file. I read somewhere that creating an ActiveX XML 
object and streaming the SVGDocument into that would be the way to go, but for 
some reason I have not been able to figure out how exacly.

 

Is there anybody who can suggest at least where to look, I've scoured all the 
material I can find, but usually the solution involves the printNode function. 

Note: There is also the possibility of posting the SVGDocument to a web page 
(via POST) but that of course requires me to parse the SVGDocument to a string, 
which also involves printNode()

 

 

________________________________________________________________
Best Regards,

Gissur Þórhallsson <mailto:[EMAIL PROTECTED]>  · B.Sc 
Software Consultant 
Direct: +354 540 2500 · Fax: +354 562 2819 
www.loftmyndir.is <http://www.loftmyndir.is/> 

 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h7perik/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1124802671/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

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