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

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

c# - how to write client side events functions for the combobox items -

ssh client with paramiko (python) -