how to parse self closing tag in xml file

Posted by ajay-sharma2 on Stack Overflow See other posts from Stack Overflow or by ajay-sharma2
Published on 2010-04-15T17:22:32Z Indexed on 2010/04/15 17:33 UTC
Read the original article Hit count: 216

Filed under:

Hi,

I am working on an iphone application in which I am consuming a webservice. So i am parsing the XML file data. any idea about how to parse self closing tag like: State/ and how to read data of self tag like: Contact Email="[email protected]" Name="PhD" Phone="123-521-3388" Source="location"/

I am parsing xml file using NSXMLPARSER class methods and library

Thanks,

© Stack Overflow or respective owner

Related posts about iphone