Loading ...
Sorry, an error occurred while loading the content.

RE: [svg-developers] Accessing Elements

Expand Messages
  • Hong Lei
    1.Use image element 2.Just follow the dom tree or use
    Message 1 of 2 , Aug 1, 2005
    • 0 Attachment
      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: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com]
      On Behalf Of thequantimizer
      Sent: Tuesday, August 02, 2005 12:48 PM
      To: svg-developers@yahoogroups.com
      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.

      ==== Main Svg ======
      <svg id="Main" >
      <script src="Test.js" />
      <svg id="insideMain">

      To unsubscribe send a message to: svg-developers-unsubscribe@yahoogroups.com
      visit http://groups.yahoo.com/group/svg-developers and click "edit my
      Yahoo! Groups Links
    Your message has been successfully submitted and would be delivered to recipients shortly.