<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ok.  So this boils down to "let's get CXML" handle entities.<div><br></div><div>How do we do that?</div><div><br></div><div>In general I have found most (X)HTML writing facilities lacking in this or that respect.  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 am willing to help extending it, instead of rolling out my XHTM&Lambda; (pun intended :) ) html writing facility.</div><div><br></div><div>One note.  Having to write <font class="Apple-style-span" face="'Courier New'">(cxml:unescaped sink "&Lambda;")</font> is a workaround, but it is not really a nice thing, since I have to manually break the string.  Especially when we think of the standard SLDJ lover who tries out CXML :)</div><div><br></div><div>So.  Somewhere, a string in a XHTML processor is "compiled" to generate SAX events.  That is where the entity processing should go.  Where exactly is this bit?</div><div><br></div><div>Cheers</div><div>--</div><div>Marco</div><div><br></div><div><br></div><div><br><div><div>On May 11, 2011, at 15:20 , <a href="mailto:rm@tuxteam.de">rm@tuxteam.de</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Wed, May 11, 2011 at 02:22:15PM +0200, David Lichteblau wrote:<br><blockquote type="cite">So is there a reason for the lack of entity reference writing support?<br></blockquote><blockquote type="cite">Mainly just that I've never needed it myself.  Usually I would just<br></blockquote><blockquote type="cite">write the actual character.  &Lambda; means the same thing as the<br></blockquote><blockquote type="cite">character with the code 923 on any Lisp with Unicode support, and every<br></blockquote><blockquote type="cite">XML parser can Unicode characters.<br></blockquote><br>The entity '&lambda;' could mean _anything_ depending on context:<br><br><?xml version='1.0' /><br><br><!doctype marketing-blah [<br> <!ENTITY lambda "Lambda Inc. - World leader in artificial inteligence"><br>]><br><br> <marketing-bal><br>   <title>Wlecome to the world of &lambda;</title><br><br> ....<br><br>Bundle this with xinclude and you get a lot of reasons to support entity <br>reference writing.<br><br><br> Cheers, Ralf Mattes<br><br><br></div></blockquote></div><br><div>--<br>Marco Antoniotti<br><br></div><br></div></body></html>