sax xml

hi all i got another matter in the content handler,at the startelement method when i try to print attributes "System.out.println(attributes.toString)" it gave the

com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$AttributesProxy@7fdcde

rather giving the attribute of the xml document.

could you GIVE ME A SOLUTION.

System.out.println("start element:"+localname+"\nAttributes:"+attr.toString());

[488 byte] By [eIresha] at [2007-11-27 6:17:58]
# 1

> rather giving the attribute of the xml document.

> could you GIVE ME A SOLUTION.

> System.out.println("start element:"+localname+"\nAttributes:"+attr.toString());

>

The system gave you the correct out put

If you print the attr.toString()

you will get only this output.

try this... try printing attr.getNodeValue()

JDvlpra at 2007-7-12 17:31:28 > top of Java-index,Java Essentials,New To Java...