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" version=""> <g> <rect/> <rect/> </g> </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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]