--- In [EMAIL PROTECTED], "pappy_byngtn" <[EMAIL PROTECTED]> 
wrote:
> 
> Is it possible to link a SVG file into another SVG file. So the 
root 
> SVG file will load/unload a external svg file when called? Similar 
> to changing the display value within a <g> </g> tag? 
> 
> I have several large SVG files that need to overlay each other and 
I 
> am trying to limit the file size. Can anyone suggest a method or 
an 
> example?

You can use getURL to get your file, then parseXML and appendChild 
to add nodes to your <g>. You can remove these childs then.

As you speak from "large" files, you can have some problem, I use 
large XML files and I see that IE don't clear memory used by 
parseXML so performance decrease along operations. Perhaps there is 
a method to remove nodes created by parseXML after appendChild ?

To see example, see some examples of load / unload widgets at
http://pilat.free.fr/english/svg_lib/index.htm

Michel





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

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