Xerces.jar classpath????
843834May 6 2003 — edited May 6 2003I am new to this, so please help!
I downloaded the Xerces.jar from the apache website with a sample java class that reads an XML file. The import looks like:
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import org.apache.xerces.parsers.DOMParser;
when I compile my class I get an error saying that org.apache.xerces.parsers.DOMParser cannot be resolved. I set my classpath with Xerces.jar so if I type path in command I have C:\JarFiles\Xerces.jar
What I am doing wrong or what should I do more that my parser could be recognised by the compiler.
Thanks a lot.