FileDocCategorySizeDatePackage
SAXLister.javaAPI DocExample1515Wed Nov 21 17:57:52 GMT 2001None

SAXLister

public class SAXLister extends Object
Simple lister - extract name and children tags from a user file. Version for SAX 2.0
author
Ian Darwin
version
$Id: SAXLister.java,v 1.4 2001/11/21 22:57:53 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

 
		XMLReader parser = XMLReaderFactory.createXMLReader(
			"org.apache.xerces.parsers.SAXParser");	// should load properties

		parser.setContentHandler(new PeopleHandler());

		parser.parse(args.length==1?args[0]:"parents.xml");