that should work for only a few <image> objects, but what the code I showed
was only an exeample... my real code has hundreds of <image> objects, so it
would be heaven if I could access the attributes of each one of the embedded
files.

2006/3/7, Peter Kalev <[EMAIL PROTECTED]>:
>
> Instead of embedding the second SVG file into the first one using
> <image>, why don't you simply read the code of test.svg and paste it
> into <svg> tags within embed.svg. Then I think the entire code will be
> available to JS...
>
> Peter Kalev
> Senior Developer,
> SWF, LLC
>
>
> -----Original Message-----
> From: Fernando Kogik [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 07, 2006 5:02 AM
> To: [email protected]
> Subject: [svg-developers] Using JS to Access An Embedded SVG
>
> I have this situation: one SVG file (embed.svg) embeds another SVG file
> (
> test.svg) like above
>
> <?xml version="1.0" encoding="iso-8859-1" standalone='no'?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
> "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd";>
> <svg version="1.1">
>
> <image id="TEST" xmlns:xlink="http://www.w3.org/1999/xlink";
> onmouseover="PE(evt)" onmouseout="AP(evt)" xlink:href="TEST.SVG" x="100"
> y="100" width="500" height="500"/>
> </svg>
>
> And this file (embed.svg) is embedded in a HTML file.
>
> So, what I need is to know if there is a way to acess and modify the
> attributes of the file "test.svg" using JS executed from the HTML
>
> I would appreciate any help
>
> Thanks,
>
> KGK
>
>
> [Non-text portions of this message have been removed]
>
>
>
> -----
> 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 unsubscribe send a message to:
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
> membership"
> ----
>
>
>
> SPONSORED LINKS
>   Xml 
> format<http://groups.yahoo.com/gads?t=ms&k=Xml+format&w1=Xml+format&w2=Svg&w3=Data&c=3&s=35&.sig=u8RdjEjLCbPTzkUjsFG_JA>
> Svg<http://groups.yahoo.com/gads?t=ms&k=Svg&w1=Xml+format&w2=Svg&w3=Data&c=3&s=35&.sig=BrpyGiBcZ6vcQXDJ7ktaiw>
> Data<http://groups.yahoo.com/gads?t=ms&k=Data&w1=Xml+format&w2=Svg&w3=Data&c=3&s=35&.sig=CrK_fWaLZ-AZKa5FK8rTGA>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    -  Visit your group 
> "svg-developers<http://groups.yahoo.com/group/svg-developers>"
>    on the web.
>
>    -  To unsubscribe from this group, send an email to:
>     [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>
>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>


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



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