Xhtml from attributed string
Xhtml from attributed string
- Subject: Xhtml from attributed string
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 19 Oct 2006 12:05:06 +0200
It is possible to create Xhtml data from an attributed string.
But now I want each occurrence of "some_marker:some_anchor" in my
attributed string to get translated into: <a name="some_anchor"></a> .
I found ways to exclude html stuff from the output - but how can I
include stuff (in my case: anchors) into the produced Xhtml text?
A very clumsy solution would be to do string replacements on the
generated Xhtml text - but is there a better solution?
What I really want is a call-back function which is called whenever
the Xhtml-generating code encounters an attachment (which it
translates into: <object data="file:///attachment_filename">
attachment_filename</object>).
Gerriet.
_______________________________________________
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