AndrewChandler
Programmer
I have downloaded xalan-j_2_5_1-bin.zip from The documentation leads me to believe that this will contain all I need to run the samples - I am particularly interested in ApplyXPath, as this seems to cover all I need (load and parse an XML file, select nodes and extract values). When I try to compile I get errors of the type:
javac ApplyXPath.java
ApplyXPath.java:62: cannot resolve symbol
symbol : class DocumentBuilderFactory
location: package parsers
import javax.xml.parsers.DocumentBuilderFactory;
^
xalan.jar, xml-apis.jar and xercesImpl.jar are in the path in CLASSPATH.
Any ideas on what I have missed?
javac ApplyXPath.java
ApplyXPath.java:62: cannot resolve symbol
symbol : class DocumentBuilderFactory
location: package parsers
import javax.xml.parsers.DocumentBuilderFactory;
^
xalan.jar, xml-apis.jar and xercesImpl.jar are in the path in CLASSPATH.
Any ideas on what I have missed?