You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ro...@vodafone.com on 2004/02/12 13:16:08 UTC
Embed SVG-tags directly in html
Is the only way to embed SVG in html by using the embed Tag ??
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 ??
thanks in advance,
Robby Pelssers
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Embed SVG-tags directly in html
Posted by Heinz Wittenbrink <he...@wittenbrink.net>.
The "XHTML + MathML + SVG Profile" of the W3C may be interesting in
this context:
http://www.w3.org/TR/XHTMLplusMathMLplusSVG/xhtml-math-svg.html
Heinz
Am 12. Feb 2004 um 13:31 schrieb Eduard Drenth:
> 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 <ed...@tiscali.nl>
> home sweet home
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
Heinz Wittenbrink
wittenbrink.net
online publikationen
Kirchenstr. 67
D-81675 München
Kastellfeldgasse 34/II
A-8010 Graz
fon: +49 89 411 88 936
mobil: +49 173 27 30 717
fax: +49 89 413194 22
mailto:heinz@wittenbrink.net
http://www.wittenbrink.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Embed SVG-tags directly in html
Posted by Eduard Drenth <ed...@tiscali.nl>.
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 <ed...@tiscali.nl>
home sweet home
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Embed SVG-tags directly in html
Posted by Jorg Heymans <jh...@domek.be>.
yup as far as i know.
There is a mozilla port that is supposedly able to render SVG natively,
but i haven't checked on its status the last couple of months.
Jorg
robby.pelssers@vodafone.com wrote:
> Is the only way to embed SVG in html by using the embed Tag ??
>
> 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 ??
>
> thanks in advance,
>
> Robby Pelssers
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: Embed SVG-tags directly in html
Posted by Laurent Trillaud <lt...@jouve.fr>.
Hi
If you don't need dynamic SVG, you can serialize your SVG into PNG or JPEG
and you will no longer need a plugin!
Laurent Trillaud
> -----Message d'origine-----
> De : robby.pelssers@vodafone.com [mailto:robby.pelssers@vodafone.com]
> Envoyé : jeudi 12 février 2004 13:16
> À : users@cocoon.apache.org
> Objet : Embed SVG-tags directly in html
>
> Is the only way to embed SVG in html by using the embed Tag ??
>
> 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 ??
>
> thanks in advance,
>
> Robby Pelssers
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org