SAX StartElement - Enumerating over attributes

HelloIn my StartElement event handler method I want to enumerate over all attributes found for an element, is this possible does anyone know?ThanksJon
[178 byte] By [JonJacksona] at [2007-11-27 6:43:22]
# 1
Doneint length = attributes.getLength();int i;System.out.println("Attributes:");for(i=0;i<length;i++) { String name = attributes.getLocalName(i); String value = attributes.getValue(i); System.out.println(name + ": " + value);}>
JonJacksona at 2007-7-12 18:14:06 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
The startElement method has the Attributes parameter to retrieve the attributes.startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, Attributes atts)
dvohra09a at 2007-7-12 18:14:06 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...