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

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 UTC