XML parsing using SAX in android -
i trying parse xml file using httpconnection not getting results right. problem there lot of attributes in xml file. please tell me how parse xml file having attribute sax.
<person> <lastname>idris</lastname> <information mobileno="xyz" accountno ="1234"address ="abcdef"phoneno="12345"/> <firstname>nazmul</firstname> <company>the bean factory, llc.</company> <email>xml@beanfactory.com</email> </person>
<lastname>idris</lastname> <information mobileno="xyz" accountno ="1234"address ="abcdef"phoneno="12345"/> <firstname>nazmul</firstname> <company>the bean factory, llc.</company> <email>xml@beanfactory.com</email> </person>
in handler-class, have 'startelement()'-method, has 'attributes'-parameter. can read attributes values using 'getvalue()'-methods.
Comments
Post a Comment