--- In svg-developers@yahoogroups.com, "Nikolya Patskov" 
<[EMAIL PROTECTED]> wrote:
>
> --- In svg-developers@yahoogroups.com, Sylvain Rouillard 
> <[EMAIL PROTECTED]> wrote:
> >
> > --- Nikolya Patskov <[EMAIL PROTECTED]> a écrit :
> > 
> > > Thank you for answer. Is it possible to insert svg
> > > file in object 
> > > image?
> > 
> > If you really need to get an svg included into another
> > svg in FF, I think that your only option is to
> > retrieve it through xmlhttprequest (check
> > http://svg-whiz.com/wiki/index.php?title=XMLHttpRequest
> > ) and parse it nicely through a hand-made equivalent
> > of ASV's parseXML (there are getURL and parseXML
> > wrappers for FF, ask around if you need them). If you
> > want a general idea of the process, read
> > http://www.carto.net/papers/svg/samples/get_parse.shtml
> > . This link describes the situation for IE+ASV. As I
> > said, you'll need to implement your own getURL and
> > parseXML for FF.
> > 
> > Otherwise you'll have to convert the svg you want to
> > include to either png, jpeg or gif.
> > 
> > I'm not sure to understand your question, so I hope
> > that this answer will cover it all.
> > 
> > Cheers,
> > Sylvain
> > 
> > 
> >     
> > 
> >     
> >             
> > 
> 
______________________________________________________________________
> _____ 
> > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! 
> Messenger 
> 
> > Téléchargez cette version sur http://fr.messenger.yahoo.com
> >
> 
> 
> Thank you for answer.
> I mean how can I include SVG Image into another svg documents in IE.
>

I wrote small example with parseXML but it doesn't work. For a start 
I use rectangle object. What's wrong?


<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>

<svg onload="init(evt)" viewBox="888 444 999 888">

    <script type="text/ecmascript"><![CDATA[

        function init(evt)
        { 
            var node = parseXML('<rect x=\'50\' y=\'50\' width=\'100
\' height=\'100\' fill=\'green\'/>', document);

            document.getElementById("base").appendChild(node);
        }
    ]]></script>
<rect id="base" x="0" y="0" width="100%" height="100%" fill="none"/>
</svg>








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/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