NSXMLParser question
NSXMLParser question
- Subject: NSXMLParser question
- From: Jesus De Meyer <email@hidden>
- Date: Mon, 20 Jun 2005 17:39:13 +0200
Hello,
I'm currently stuck with parsing a specific type of xml file. Imagine
the following hierarchy:
<root>
<item>
<item />
<item>
<item />
<item />
</item>
</item>
I know how to parse it, but the problem I'm having is with the close
tags. How do I know if the close tag belongs to an item (in the case
of <item />) or to a group of items (like in <item> ... </item>)
Using recursion would be optimal, but I believe I'm stuck with the
delegate methods of NSXMLParser.
Thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden