Parsing XML in a web view
Parsing XML in a web view
- Subject: Parsing XML in a web view
- From: "a.d. jensen" <email@hidden>
- Date: Thu, 7 Sep 2006 10:14:32 -0500
I've put together a small web viewer application that gets
information from a web site, and then passes it off as an AppleEvent
to another application.
The guy who's doing the web end of things wants to pass me that
information as an XML tag, buried in the HTML source of the page that
I'm displaying to the end user, to indicate that their transaction is
complete.
That's all well and good, but I'm at a loss as to:
a) How to access the source of a page, given a webview
b) How to parse said source for the value, buried between XML tags
eg: <fieldValue>Value to parse</fieldValue>
Any pointers to the right Cocoa class or supportive documentation
would be appreciated, thanks!
dale
--
email@hidden http://kandsmil.blogspot.com
Only a fool turns away from an angel,
Vision in white steps through the door,
Holds out her hand, I say 'No I'm not ready'
I open my eyes and let the dream fade away.
-- echolyn, "on any given nite"
_______________________________________________
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