I need to be able to access the DOM of an SVG file that is placed within an HTML document via an <embed> tag so that I can dynamically create elements in it. I have no problem doing this if it is directly embedded within an <svg> tag, but the svg files I need to manipulate are huge. Sticking that data in the HTML file proper will be very, very ugly and impractical.
This might not even be possible-- I don't know. I have looked and looked and there don't seem to be any answers out there. All I want is to get the reference to the DOM object of an SVG file that is downloaded through an imbed tag, and no, I'm not looking for a js library.
If it can be done at all its probably something simple but it just is eluding me. Any help would be appreciated. And no--I don't need a cross-browser solution--one that works on Chrome will be sufficient,
Bookmarks