What about changing the SVG DOM from within the embeded SVG? You can use the ASV getURL() approach or an XMLHttpRequest() approach. This way you don't have to change the url. Get the 'new' SVG dynamically from the server and update the SVG DOM accordingly.
--- In [email protected], "tharahan" <[EMAIL PROTECTED]> wrote: > > I have an html file contains embeded svg and javascript function > which called by triggering an event. > > My problem is , I have to replace the url for fetching dynamic svg > from server as a stream of characters via js > > This is my html > > <html> > <head> > <title>test meta</title> > </head> > <body> > > <script> > > function testHTM() > { > alert("HTML "); > // ???????????? how to replace the "src" parameter to call the url > with different oid > } > </script> > > <embed name="graph" width="800" height="400" src="http://<server-url>? > oid=11111" style="float: left" align="left"> > > </body> > </html> > > Thanks > Tharahan ----- 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/

