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

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

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -