Re: dynamically create and insert SVG into an HTML page

thanks, how? Because I can't figure out how to take dynamically created SVG
and insert it into an <embed> tag in HTML.  I want to just take the unparsed
SVG-XML data and insert somehow into an <embed> tag.  The only way I can
figure out how to insert SVG is through a "src" attribute of <embed> which
references a .svg file.  This is ok but does not solve the problem of
dynamically creating an entirely new SVG-XML image on the client.  

Here's my scenario:
XML is downloaded to the client(browser IE 5.0/5.5) along with several XSLT
transformation stylesheets (for different views of the data).  On the client
one stylesheet is applied(through javascript in an HTML page) to the XML
data(using MSXML3).  The output of this is SVG-XML data.  The SVG-XML data
is then displayed.  The user can click on different views in which case
different XSLT stylesheets are applied to the original XML and new SVG-XML
is output to be viewed.

any suggestions on how to dynamically put the SVG-XML data in the HTML page?

thanks
-Justin


-----Original Message-----
From: Josh Zeidner [mailto:jmz_phylogenic@hotmail.com]
Sent: Tuesday, June 13, 2000 10:18 AM
To: Justin Friedl
Subject: Re: dynamically create and insert SVG into an HTML page

yes.  with javascript.

-Josh Zeidner



>From: Justin Friedl <justin.friedl@aspentech.com>
>To: "'www-svg@w3.org'" <www-svg@w3.org>
>Subject: dynamically create and insert SVG into an HTML page
>Date: Tue, 13 Jun 2000 12:02:35 -0400
>
>Is it possible to dynamically create and insert SVG into an HTML page or
>overwrite an existing SVG image all on the browser?
>
> > 	Justin Friedl
> > 	Software Engineer
> > 	Web and eCommerce
> > 	Supply Chain Division
> > 	Aspen Technology
> > 	19204 North Creek Parkway
> > 	Bothell, WA 98011
> > 	425-492-2379
> > 	425-492-2125 (fax)
> > 	mailto:justin.friedl@aspentech.com
> >
> >
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Received on Tuesday, 13 June 2000 13:36:39 UTC