Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8890153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:26:06+00:00 2026-06-14T22:26:06+00:00

I am trying to play around with html parsing and iPhone development. Heres my

  • 0

I am trying to play around with html parsing and iPhone development.

Heres my question:
Let say you have a textfield for the user to enter a value on a website. How do i send my own value to the textfield using libxml2 library and hpple? I want to enter a value in a textbox, and parse the results. Here is a visual representation of what I want to do:

https://dl.dropbox.com/u/42738601/Screen%20Shot%202012-11-24%20at%2010.07.45%20PM.png

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:26:08+00:00Added an answer on June 14, 2026 at 10:26 pm

    Ray Wenderlich’s How To Parse HTML on iOS tutorial covers the parsing portion of your question.

    If you want to interact with a web page, there are two basic techniques.

    1. If the client-side portion of the web site isn’t too complicated and if you’ve successfully deciphered the HTML to figure out what sort of GET and POST operations are in progress, you can create a NSURLConnection, make requests and, using the skills you’ve developed from Ray Wenderlich’s tutorial, parse the responses. See Apple’s URL Loading System Programming Guide. Also see the SimpleURLConnections demo for examples of simple POST and GET interactions. If your desired server interaction is a little more complicated, check out the appropriately named AdvancedURLConnections sample.

    2. Alternatively, you could let a UIWebView manage the interaction between your app and the web server. Thus you could, once the UIWebViewDelegate method webViewDidFinishLoad is called, you can probably then refer to this article about Injecting JavaScript Into a UIWebView, which discusses the UIWebView method stringByEvaluatingJavaScriptFromString.

    Personally, I’d lean towards the first approach as it’s likely to be more robust. Having said that, it’s worth noting that interacting with servers by simulating web interfaces is suboptimal. It would far better if you could use a proper web service that delivered, for example, JSON or XML responses. I appreciate that you probably don’t have that option (otherwise you probably wouldn’t have asked the question), but we should acknowledge that the above approaches really are inherently fragile and inefficient.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to play around with gedit and came across the shortcut
I am a QT newbie and trying to play around with Apps. I have
I have been trying to play around with this for a long time and
I'm trying to play around with Android development, but I can't seem to get
I'm trying to play around with SSE intrinsics. I have made a test program
I'm playing around with jQuery tabs and have a prototype up and running. http://www.omnicom-innovations.com/play/tabsdemo.html
I'm on ControlDesigner trying to have a play around with it and it tells
I am trying to play around with mocha running on node under Windows. I've
I'm trying to play around with some music clustering algorithms, and I thought that
Hi I am trying to play around with async.parallel and here is my code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.