xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <cam-batik-us...@aka.mcc.id.au>
Subject Re: <div> elements
Date Thu, 12 Feb 2004 22:37:56 GMT
Hi Ananth.

ananth balasubramanyam:
> I am new to SVGs and Batik and
> I am trying to open a svg with a <div> element in batik-squiggle and it
> does not open up. I get an error
> The current document is unable to create an element of the requested type
> (namespace: http://www.w3.org/2000/svg, name: div). Could somebody explain
> to me what is happening.

Why do you want a div element in your document?  Do you actually want an
XHTML div, or an SVG 1.2 flowDiv?  If you just want to have an XHTML div
in your document (even though Batik won't do anything with it), you
should have:

  <svg xmlns="http://www.w3.org/2000/svg"

so it is recognised as an XHTML element, not an SVG one.

If you want to use an SVG 1.2 flowDiv, you need to put it in the Batik
extension namespace (unlike ASV where it is accepted in the normal SVG

  <svg xmlns="http://www.w3.org/2000/svg"


Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922

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

View raw message