get XML node on iphone

TechnoKiD

New Member
in our actual application we receive from the server an XML response. We've a SAXParser implemented to process the XML content and inflate local entities.Actually we include a new local cache, and we want to store the original xml for every entity.The actual solution was based on take profit of the SAX Parser recursivity to general a parallel xml, but I thought that maybe exists any other way to get simply the searched node and store it.Example of the XML:\[code\]<data><account id=""><attr1>content</attr1><attr2>content</attr2><...></account><account id="">...</account></data>\[/code\]Any body can give me any other way, maybe with xpath with a DOM XML Parser, to retrieve for example the complete "account" node.As I explained before actually we're using a SAXParser, implementing the NSXMLParserDelegate protocol.Thank you!
 
Back
Top