Yet another SXML serializer
"Dmitry Lizorkin" <[email protected]> Tue, 31 Jan 2006 17:16:42 +0300
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Message-ID | <0b2901c62670$f5f67440$225fa8c0@black> |
Hello! I implemented another SXML-to-XML and SXML-to-HTML serializer. The goal behind this activity is moving towards compatibility with the W3C XSLT and XQuery Serialization: http://www.w3.org/TR/2005/CR-xslt-xquery-serialization-20051103/ Current features of the SXML serializer implemented: - Outputting an SXML document as XML and HTML - Returning the serialized document as a string or displaying it to an output port - Support for (S)XML namespaces - Support for indentation on user demand to facilitate document readability by a human - Support for '& entities produced by HtmlPrag - Support for serialization parameters like cdata-section-elements TODO: - Escape URI attributes in HTML output method - Do not insert additional whitespaces adjacent to HTML %inline elements in HTML output method Examples: http://modis.ispras.ru/Lizorkin/sxml-tutorial.html#hevea:serializ The implementation is still of a beta quality, but should be quite usable. The serializer is committed to ssax.sf.net CVS. You can also download it here: - SXML serializer as a standalone module: http://modis.ispras.ru/Lizorkin/Download/Tmp/serializer.scm (requires `cond-expand' from SRFI-0 and `filter' from SRFI-1) or - SXML serializer as a part of SSAX-SXML package, for Bigloo, Chicken, Gambit and PLT: http://modis.ispras.ru/Lizorkin/download.html Your feedback is appreciated; in particular, I am interested in hearing your opinion about additional features you consider important/convenient for the SXML serializer to support. Dmitry ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642