import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
public class Main {
public static void main(String[] args) throws Exception {
System.setProperty("avax.xml.parsers.SAXParserFactory", "org.apache.xerces.parsers.SAXParser");
SAXParserFactory factory = SAXParserFactory.newInstance();
SAXParser parser = factory.newSAXParser();
}
}
sources68 the directory containing the programming examples, source code and programming guide online
Sunday, 31 July 2011
Configuring SAX parser factory to produce alternate parser
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment