Holger,

> that leaves you with a document like this:
> 
> <html xmlns:svg="http://www.w3.org/2000/svg"; 
> xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>   </head>
>   <body>
>     <h1>SVG direkt in HTML eingebettet</h1>
>     <hr>
>     <svg:svg width="300" height="300">
>       <svg:circle cx="150" cy="150" r="100" style="fill:red">
>     </svg:svg>
>     <hr>
>   </body>
> </html>
> 
> this document is perfectly viewable in
> - Moz/FF with native SVG support (  
> http://www.mozilla.org/projects/svg/ )
>     you can find the latest MOZ here: 
> ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/contrib/
> latest-trunk/
>     and the latest FF here: 
> ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/contrib/
> latest-trunk/
> - Opera 8.0 beta3   http://www.opera.com/download/

The same document will also work in the Sidewinder Viewer preview. Note
however that both the Sidewinder Viewer and Opera 8 require well-formed XML,
so both <hr> and <svg:circle> need to be <hr /> and <svg:circle />. I don't
have a Firefox build with SVG, so cannot verify whether they also check for
well-formedness -- perhaps someone can comment?

In addition, the Sidewinder Viewer validates against a schema that contains
XHTML, SVG, XForms and MathML, so you will need to place a <title> in <head>
to conform to XHTML:

  <html xmlns:svg="http://www.w3.org/2000/svg"; 
   xmlns="http://www.w3.org/1999/xhtml";>
    <head>
 ->   <title>SVG in HTML</title>
    </head>
    <body>
      <h1>SVG direkt in HTML eingebettet</h1>
 ->   <hr />
      <svg:svg width="300" height="300">
 ->     <svg:circle cx="150" cy="150" r="100" style="fill:red" />
      </svg:svg>
 ->   <hr />
    </body>
  </html>


The Sidewinder Viewer is available from the preview area of the formsPlayer
download page:

  <http://www.formsPlayer.com/download/>

The current release uses IE as the rendering engine, and either ASV3 or ASV6
-- it doesn't matter which. (Actually, it will also work with the Corel
plug-in, if anyone uses that.) If you have more than one SVG plug-in
installed it is possible to specify a preference simply by changing the
order in which the plug-ins appear in the DOM3Implementation configuration
file.

I believe this is an important step, since it is now possible to create an
XHTML+SVG document that will run unchanged in Opera, IE and Firefox. (We
will shortly be releasing a version of the Sidewinder Viewer that runs 'in'
IE which will make it even easier.)

Of course, it will also be possible to create XHTML+SVG documents that
*don't* run in all of these browsers...but at least we're moving forwards!

So, does anyone have any demos?

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: [EMAIL PROTECTED]
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/





-----
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/
 



Reply via email to