On 2001.10.31 13:34 Stephane Hillion wrote:
> > From what you said it sounds like it is not possible and batik won't
> let me
> > do it.
> > I could not repeat the npe, it must be a combination of a number of
> > factors.
I found out that the npe occurs when I serialize the document to an object
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
http://www.w3.org/2000/svg";
version="">
The g and both rect's shold have attri
On Wednesday 31 October 2001 10:57, Keiron Liddle wrote:
> On 2001.10.30 16:41 Stephane Hillion wrote:
> > It is difficult to help you without some examples or pieces of code.
> > But what you must have in mind is that the xmlns attribute and prefix is
> > used
> > by XML parsers to bind elements
On 2001.10.30 16:41 Stephane Hillion wrote:
>
> It is difficult to help you without some examples or pieces of code.
> But what you must have in mind is that the xmlns attribute and prefix is
> used
> by XML parsers to bind elements to namespaces, and once you are in the
> DOM
> world it is not
On Tuesday 30 October 2001 10:30, Keiron Liddle wrote:
> Hi,
>
> I have some svg content embedded inside an xml document. I am reading
> through the dom and when I find the svg I am trying to convert it into an
> svg document.
>
> The svg xml is identified with an xmlns="...".
>
> If I create a ne
Hi,
I have some svg content embedded inside an xml document. I am reading
through the dom and when I find the svg I am trying to convert it into an
svg document.
The svg xml is identified with an xmlns="...".
If I create a new generic document then import the svg node and add it as
the root doc