Re: tidying HTML up
Re: tidying HTML up
- Subject: Re: tidying HTML up
- From: Marcel Weiher <email@hidden>
- Date: Fri, 18 Jul 2008 17:19:23 -0700
On Jul 18, 2008, at 14:22 , Ivan wrote:
Since NSXMLDocument is no longer (or never had really been) part of
the iPhone SDK, now I find my app can't be run on my iPhone. So, I
wonder if is there any way I could take to keep on with my
development. Just found tidylib at sourceforge, but don't know if it
is possible to import it in any way into my Xcode and my iPhone app
(at least within a reasonable time/effort limits).
Objective-XML has a SAX parser (NSXMLParser-compatible) that can deal
with untidy XML/HTML:
http://www.metaobject.com/downloads/Objective-C/Objective-XML-4.2.tar.gz
Rumor has it that it can work on small embedded devices, but I
wouldn't know about that.
Marcel
p.s.: tidying a document using NSXMLDocument or tidy and then parsing
it using a SAX parser is just about pessimal from both a code-
complexity and performance point of view.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden