flavour outerHTML
flavour outerHTML
- Subject: flavour outerHTML
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 21 Aug 2007 12:40:01 +0200
A DOMHTMLElement has a method outerHTML which returns Html text as
NSString.
This is even somewhat documented in the chapter "Using the Document
Object Model Extensions" of the "Web Kit Objective-C Programming Guide".
Is it possible to control the flavour of Html created? I would like
to get Xhtml-1.
The DOMDocument whose documentElement gets the outerHTML message has
a doctype with publicId: "-//W3C//DTD XHTML 1.0 Strict//EN" and
systemId: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" but the
resulting NSString does not contain any DOCTYPE, nor is it valid Xhtml.
Kind regards,
Gerriet.
_______________________________________________
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