• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Parsing XML in a web view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Parsing XML in a web view
      • From: Rush Manbert <email@hidden>
  • Prev by Date: Re: Objc - Exceptions
  • Next by Date: Re: Re: Objc - Exceptions
  • Previous by thread: Re: How do I make a flexible NSToolbarItem? [half solved]
  • Next by thread: Re: Parsing XML in a web view
  • Index(es):
    • Date
    • Thread