xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keiron Liddle <kei...@aftexsw.com>
Subject Re: importing dom
Date Wed, 31 Oct 2001 12:57:25 GMT

Thanks, that helps, it appears to import the document elements properly,
but I am still not getting the attributes on the child elements

For example I just get the following svg node when imported
<svg contentScriptType="" width="20" zoomAndPan="" contentStyleType=""
height="20" preserveAspectRatio="" xmlns="http://www.w3.org/2000/svg"

The g and both rect's shold have attributes on them.

On 2001.10.31 13:34 Stephane Hillion wrote:
> All your troubles comes from the fact that the DocumentBuilder instances
> you 
> use are not namespace aware. So just configure a DocumentBuilderFactory
> by 
> calling its setNamespaceAware() method and the DocumentBuilder objects 
> created will build correct DOM level 2 trees.
> --
>   Stephane.

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

View raw message