cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduard Drenth <eduarddre...@tiscali.nl>
Subject Re: Embed SVG-tags directly in html
Date Thu, 12 Feb 2004 12:31:22 GMT
On Thu, 2004-02-12 at 13:16, robby.pelssers@vodafone.com wrote:
> Is the only way to embed SVG in html by using the embed Tag ??
> 

You could also use an object tag:

<object name="plaatje" SRC="" width="315" height="207"
type="image/svg+xml"></object>

> I would like to know if there is a way to directly use 
> <svg xmlns:svg="http://www.w3.org/2000/svg" width="1000" heigth="120"> 
>   .... content of SVG image
> </svg>  
> 
> in the <body> html tag ??
> 

I don't think there is, but what you can do is serialize only the svg to
the browser, if it has a plugin it will display the image:

<map:serialize type="svgxml"/>

Eduard

> thanks in advance,
> 
> Robby Pelssers
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
-- 
Eduard Drenth <eduarddrenth@tiscali.nl>
home sweet home


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message