• 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
Re: Using WebKit to display data that's not in HTML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using WebKit to display data that's not in HTML


  • Subject: Re: Using WebKit to display data that's not in HTML
  • From: "Joe Goh" <email@hidden>
  • Date: Tue, 19 Sep 2006 13:50:13 +0800

On 9/19/06, Justin Anderson <email@hidden> wrote:
WebKit is for displaying HTML. If you want to display data that's not
in HTML, format it into HTML and then pass it to WebKit.

You will probably want to use NSXMLDocument to build the HTML and
then pass your NSXMLDocument's string value to your WebView with
loadHTMLString:baseURL:.

That seems like a good approach too, but this seems like a similar approach to my previous naive approach of directly changing the HTML tags using the innerHTML: method. I don't really gain anything from using the XML approach, unless i'm missing something.

Joe
_______________________________________________
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


References: 
 >Using WebKit to display data that's not in HTML (From: "Joe Goh" <email@hidden>)
 >Re: Using WebKit to display data that's not in HTML (From: Justin Anderson <email@hidden>)

  • Prev by Date: Re: Evaluating an NSString to a symbol at runtime...
  • Next by Date: NSSecureTextField UI value is set to 8-byte string automatically
  • Previous by thread: Re: Using WebKit to display data that's not in HTML
  • Next by thread: Re: Using WebKit to display data that's not in HTML
  • Index(es):
    • Date
    • Thread