xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musbah Sagar" <msa...@brookes.ac.uk>
Subject Re: JavaScript problem with flowText/flowRoot element.
Date Tue, 23 Aug 2005 19:54:17 GMT
Hello Thomas

Thanks for the quick reply and for the hint.

I have added the version attribute and now I am able to create flowRoot 
element but I am having a problem when I try to attach the flowRoot to a 
parent:

var flow= 
svgDocument.createElementNS("http://www.w3.org/2000/svg","flowRoot");

svgDocument.documentElement.appendChild(flow); // Or any other node.

Any idea how to come around this one?

Musbah.



----- Original Message ----- 
From: "Thomas DeWeese" <Thomas.DeWeese@Kodak.com>
To: <batik-users@xmlgraphics.apache.org>
Sent: Tuesday, August 23, 2005 2:43 AM
Subject: Re: JavaScript problem with flowText/flowRoot element.


> Hi Musbah,
>
>   Most likely you don't have the 'version' attribute on
> the root SVG element set to "1.2".  If this is not set
> then Batik will not turn on any SVG 1.2 features.
>
> Musbah Sagar wrote:
>
>> I have a problem regarding the use of flowText element,...
>>  I am trying to generate flowText/flowRoot element from JavaScript but I 
>> get the following error message:
>>  The current document is unable to create an element of the requested 
>> type (namespace: http://www.w3.org/2000/svg, name: flowText).
>>  Does anyone know how to solve this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
> 


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


Mime
View raw message