Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tidying HTML up




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >tidying HTML up (From: Ivan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.