On 1 Jul 2009, at 3:49 PM, Erg Consultant wrote:
I am trying to parse an XML file on the web using NSXMLParser. The
page is a list of gold prices. I can get the tagged elements with no
problem, but the price item doesn't seem to be tagged. Can anyone
tell me how to get the price item in this element using NSXMLParser:
<Price currencyname="Argentine Peso" currencycode="ARS">95.2086</
Price>
Upon entry to the element, allocate an NSMutableString and put it
where you can find it.
Upon foundCharacters, accumulate characters into the string.
Upon exit from the element, use the accumulated string.
— F
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com