On Wednesday 05 September 2001 18:05, you wrote:
> 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


Your code works fine and is correct. Please check your classpath (all jar 
files from batik should be first in your classpath, especially if you already 
have some other DOM bindings).

Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to