Re: NSAttributedString -> XHTML 1.1
Re: NSAttributedString -> XHTML 1.1
- Subject: Re: NSAttributedString -> XHTML 1.1
- From: Douglas Davidson <email@hidden>
- Date: Tue, 16 Dec 2008 13:14:02 -0800
On Dec 16, 2008, at 12:56 PM, Keith Blount wrote:
I'm building an .epub eBook exporter from my app and thus need to
generate XHTML 1.1 files from my text. I am using
NSAttributedString's -dataFromRange:documentAttribributes:error: to
generate the XHTML, and by playing with the different combinations
of documentAttributes that are used in the TextEdit example, I can
generate an XHTML 1.0 strict file, but haven't been able to figure
out how to generate an XHTML 1.1 file (perhaps it isn't possible via
NSAttributedString as yet?).
NSAttributedString's HTML generation has not been configured or tested
for the generation of XHMTL 1.1. It does not currently make use of
the lang attribute or map element, or the name attribute on a
elements, and it is unlikely to do so in the future, but I'm not
prepared to make further guarantees.
Douglas Davidson
_______________________________________________
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