W3C home > Mailing lists > Public > www-svg@w3.org > March 2011

Re: Fwd: problem creating ENTITY TAG in DOCTYPE using batik

From: Goldi <goldi.ahuja@gmail.com>
Date: Mon, 21 Mar 2011 15:13:45 +0530
Message-ID: <AANLkTimb-gymoLZG4SHjoVsAZP8_yKoC-kQiQ7KSX1iV@mail.gmail.com>
To: Goldi <goldi.ahuja@gmail.com>, www-svg@w3.org
Thanks a ton Cam,
God Bless

On Mon, Mar 21, 2011 at 2:49 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> Goldi:
> > I am trying to create svg files using batik API.
>
> Questions on using Batik are better directed to
> batik-users@xmlgraphics.apache.org.
>
> > The Doctype generated does not permits ENTITY TAG
> > Can somebody guide how to add ENTITY tags in the svg file using batik svg
> > generator
> …
> > How do i append ENTITY in the DOCTYPE internalsubset?
>
> The SVG Generator API doesn’t have any facility for adding entity
> declarations to the internal subset.  I’m not even sure if the Batik DOM
> API will let you edit the internal subset of a Document.
>
> Using entities for common styling definitions isn’t a great idea,
> anyway: I would suggest using CSS and classes for this instead, if that
> is what you want to use entities for.
>
> --
> Cameron McCormack ≝ http://mcc.id.au/
>
Received on Monday, 21 March 2011 09:44:18 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:47 GMT