SXML -> HTML

"Arend P. van der Veen" <[email protected]> Mon, 21 Feb 2005 16:58:56 -0500
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
Hi,

I am new to SXML and am writing SXML that will be converted to HTML in 
cgi-bin programs.  I am using the ssax module in PLT scheme to perform 
this task.  I have had good success with this task and have transferred 
a lot of my HTML into SXML.

I have a few questions that I was hoping I could get some help with:

1.  I am new to SXML and know that I am just scratching the surface.  I 
was wondering if anybody knows of a reference developed for this task.

2.  Following is a simple Hello Word HTML page that I use:

(define lsxml `(html (body (h1 (@ (align "center")) "Hello World" 
&nbsp\; "People"))))

I convert this to html in a cgi-bin program using SXML->HTML.  This 
sample does work.

a.  However, is this correct sxml?

b.  Is there a better way to support nbsp?

c.  In the ssax module there is a module called ssax-to-html-ext that 
defines a procedure called 'n_'.    In the documentation it mentions 
that this module is similar to an article style in LaTeX.  What would be 
involved in using this module to aid my HTML generation.

3.  Has there been any work done on converting SXML to LaTeX ?

Thanks for any suggestion,
Arend van der Veen


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click