• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xhtml from attributed string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Why wont this window accept key input?
  • Next by Date: [SOLVED] Waiting for NSMetadataQuery to finish?
  • Previous by thread: Why wont this window accept key input?
  • Next by thread: [SOLVED] Waiting for NSMetadataQuery to finish?
  • Index(es):
    • Date
    • Thread