Hi!
I'm having trouble walking the DOM in an HTML document that contains an
embedded SVG document.
The SVG document is embedded using an EMBED element with an ID
of 'TopView'. I'm using the following JavaScript to access the child
nodes of the SVG document:
for (var i = 0; i < document.getElementById('TopView').getSVGDocument
().documentElement.childNodes.length; i++)
alert(document.getElementById('TopView').getSVGDocument
().documentElement.childNodes[i])
The problem is that the script returns 'undefined' for all of the child
nodes. What is the issue?
Thanks!
mike
------------------------ Yahoo! Groups Sponsor --------------------~-->
Everything you need is one click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
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/