If you like that type of higher-level, more Objective-C-like approach,
you might want to have a look at Objective-XML, and more specifically
the MAX parser ( MAX = Message oriented API for XML):
http://www.metaobject.com/blog/2009/01/iphone-xml-performance.html
/*
parser:didStartElement:namespaceURI:qualifiedName:attributes:attributeDi
ct */
- (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)
elementName namespaceURI:(NSString *)namespaceURI qualifiedName:
(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict { }
acolol way to parse is make you element names method names
- (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)
elementName namespaceURI:(NSString *)namespaceURI qualifiedName:
(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict {
elementName =
On Mar 23, 2009, at 19:53 , Development wrote:
I'm using an an NSXMLParser to parse a document. some of the
elements are as follows: element property=valueSome Thing/
element
The problem is that I cannot seem to come up with the element's
property. During the parse which callback is going
On Mar 23, 2009, at 20:13 , Dave Geering wrote:
On Tue, Mar 24, 2009 at 1:53 PM, Development
developm...@fornextsoft.com wrote:
I'm using an an NSXMLParser to parse a document. some of the
elements are as
follows: element property=valueSome Thing/element
The problem is that I cannot seem to
I'm using an an NSXMLParser to parse a document. some of the elements
are as follows: element property=valueSome Thing/element
The problem is that I cannot seem to come up with the element's
property. During the parse which callback is going to give me the
property and it's value?
Thanks.
On Tue, Mar 24, 2009 at 1:53 PM, Development
developm...@fornextsoft.com wrote:
I'm using an an NSXMLParser to parse a document. some of the elements are as
follows: element property=valueSome Thing/element
The problem is that I cannot seem to come up with the element's property.
During the