>Here you are the complete code (Proba.java):
>
>---------------//------------------------
>import java.io.IOException;
>import org.apache.batik.dom.svg.SVGDOMImplementation;
>import org.w3c.dom.Document;
>import org.w3c.dom.Element;
>import org.w3c.dom.DOMImplementation;
>
>public class Proba {
>
> public static void main(String [] args) throws IOException
>{
>
> DOMImplementation impl =
SVGDOMImplementation.getDOMImplementation();
> String svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI;
> Document doc = impl.createDocument(svgNS, "svg", null);
> }
>}
>--------------------//------------------
>
>The error message is:
>
>createDocument not found in interface
>org.w3c.dom.DOMImplementation
I think that "impl" should be declared to be a
SVGDOMImplementation and not a DOMImplementation.
Please someone correct me if I'm wrong.
-Bill
------
Bill Haneman x19279
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]