05-12-2009 06:03 PM - edited 05-12-2009 06:04 PM
You subclass DefaultHandler and override startElement. Your handler class is passed to the SAX parser. startElement is called at the start of each element, and passes an Attributes object to your code.
See the API docs, as well as the XML demo code that ships with the JDE.