[cxml-devel] Ho do I write the following on a sink?

Marco Antoniotti marcoxa at cs.nyu.edu
Fri May 27 16:17:20 UTC 2011


Guys!  Throw me a bone here!!!!!

I don't want to roll out my own XHTML generator!


So, the culprit is SAX:CHARACTERS CXML::SINK , which calls CXML::UNPARSE-INDENTED-TEXT, which calls CXML::SINK-WRITE-EXCAPABLE-ROD.  This last function seems wrong as it hardcodes behavior.  The problem is that nowhere in the chain there is an obvious place where to put entity handling.  Or should CXML::SINK-WRITE-EXCAPABLE-ROD be rewritten?  If that is the case, where should entities be found?  In the sink, in a stash somewhere else?  Or maybe TRT is to build a special XHTML sink?

Any ideas?

Cheers
--
Marco





On May 16, 2011, at 10:58 , Marco Antoniotti wrote:

> 
> On May 16, 2011, at 09:39 , Marco Antoniotti wrote:
> 
>> ...  Since I am using CXM to do the reading, it would be natural not to depend on YAL (Yet Another Library) to do the reading. 
> 
> I meant "writing" :}
> 
> 
> --
> Marco Antoniotti
> 
> 
> 
> 
> 

--
Marco Antoniotti






More information about the cxml-devel mailing list