OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] a minimal SAX application in Java

[ Lists Home | Date Index | Thread Index ]

This five liner will parse a document, but do nothing else.

public class SimpleParser {
    public static void main(String args[]) throws Exception {

javax.xml.parsers.SAXParserFactory.newInstance().newSAXParser().getXMLReader
().parse(args[0]);
    }
}

	Keith





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS