guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SXML (was Re: Web development)


From: Kirill Lisovsky
Subject: SXML (was Re: Web development)
Date: Wed, 14 Nov 2001 13:40:33 +0300 (MSK)

Hello!

On Tue, 13 Nov 2001, Sergey Dolin wrote:

> > Surely there's nothing to be gained by converting to XML instead of
> > S-expressions?
> I don't know what S-expressions are. Are they  have DTD?
>  XML - is "standard" aproch. Now i make all "external" output in XML, and
>  parse it for "visualisation". So, while i'm choose ncurses now, i will
>  not have much troubles with representing same data through web. 
> 
Just look at SXML:
http://www.pobox.com/~oleg/ftp/Scheme/SXML.html
It is an instance of XML Infoset as S-expressions which makes
XML<->SXML mapping very straightforward. 

XML is just another instance of XML Infoset, it even may be considered as
"... a verbose variant of Lisp S-expressions coupled with a poor man's BNF."
( P. Wadler. The Next 700 Markup Languages
http://cm.bell-labs.com/cm/cs/who/wadler/ )

XML has its advantages as widely accepted format for textual representation
of semistructured data, while S-expressions (and SXML in particular) is natural 
Scheme representation for such a data.

SSAX XML parsing framework (which includes XML->SXML parser and is available for
Guile), SXPath, SXML transformation, etc:
http://ssax.sf.net

Best regards,
         Kirill.

---
http://pair.com/lisovsky/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]