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: svg-developers@yahoogroups.com 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" ---- 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/