1.Use "image" element
        <image x="100" y="100" width="50" height="50"
xlink:href="another.svg" />
2.Just follow the dom tree or use svgDocument.getElementById("insideMain")

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of thequantimizer
Sent: Tuesday, August 02, 2005 12:48 PM
To: [email protected]
Subject: [svg-developers] Accessing Elements

 Hello ,
  I have  two basic question , 
  
 1. i want to embed the one svg file inside the other svg file can we 
embed it in a wat that we only specify the insider svg path .
  
 2. Regardless of above situation if we have to embed the svg inside 
another svg how come we access the elements from say java script.
  
  example:
           ==== Main Svg ======
      <svg id="Main" >
     <script src="Test.js" />  
       . 
       .
       .
    <svg id="insideMain">
       . 
       .
       .
     </svg>
   </svg>





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



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h1ruk8f/M=362329.6886308.7839368.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122965965/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