Get 'innerHtml' of SVG shape instance?

"Mark Wyszomierski" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.svg
Message-ID <[email protected]>
Hi,

I have an sgv document I'm rendering. Is it possible to get the text that
composes an sgv element via javascript? Something like:

   <svg>
       <rect id = "test" x="4" y="10" />
   </svg>

   <script>
       function f()
       {
           // I'd like the definition of rect "test" printed here.
           alert(document.getElementById("test").innerHTML);
       }
   </script>

I'd like to get the raw text that composes that shape element.

Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.