Hi,
I am trying to use the FlowText tags in my SVG document, similar to the
samples/extensions/flowTextAlign.svg. In my current trials with Batik I
have been using the following namespace
String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI
but when I try to create a FlowTextElement it given me the following:
org.w3c.dom.DOMException: The current document is unable to create an
element of the requested type (namespace: http://www.w3.org/2000/svg,
name: flowText).
Can someone please tell me what namespace I need to use to create these
elements, and also are there any changes to the way I am creating the
basic document so that I can create both SVG and Extension elements
besides the namespace?
DOMImplementation impl = SVGDOMImplementation.getDOMImplementation();
String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;
Document doc = impl.createDocument(svgNS,
SVGConstants.SVG_SVG_TAG, null);
in order to be able to use these Flow elements?
Thanks in advance for your help,
Tom
--
PS Note this is the new email address - delete [EMAIL PROTECTED] as it
won't work soon!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]