Xhtml from attributed string

  • 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.
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today