Re: XSieve: XSLT + Scheme

"Oleg A. Paraschenko" <[email protected]> Sun, 18 Sep 2005 01:45:24 +0400
Newsgroups gmane.lisp.scheme.ssax-sxml
Organization xmlhack.ru
Message-ID <[email protected]>
  Hello Dmitry,

On Thu, 15 Sep 2005 14:28:15 +0400
"Dmitry Lizorkin" <[email protected]> wrote:

> Hello!
> 
> >   XSieve is based on xsltproc and Guile. When switching from the XSLT
> >   mode
> > to the Scheme mode, data are automatically converted to the SXML
> > format. When returning from the Scheme mode, SXML is converted to XML
> > nodes.
> 
> Looks impressive!

  Thanks.

> I especially appreciated the symmetry between XML and S-expression
> syntaxes in the XSieve stylesheet

  To my surprise, it was hard to write converters from XML nodes to Scheme
values and back. The main problem was namespaces.

> and your idea of introducing the
> (x:current) command for accessing the context node.
> 
> How do you position XSieve with respect to Kirill Lisovsky's STX ?:
> http://www.pair.com/lisovsky/transform/stx/

  XSieve positioning is: Use XSLT as much as possible, and switch to
Scheme as rarely as possible, only to overcome XSLT obstacles.

* XSieve is XSLT-centric, STX is Scheme-centric.
* XSieve is 100% XSLT, STX is a subset of a typical XSLT.

  Yet another hidden (advertised only to SXML developers), but the
original goal of XSieve is to be a framework for testing Scheme XPath
implementations. In fact, XSieve is a side-effect product, and I didn't
notice its potential for a long time.


> 
> Dmitry
> 
> 


-- 
Oleg Paraschenko  olpa@ http://xmlhack.ru/  XML news in Russian
http://uucode.com/blog/  Generative Programming, XML, TeX, Scheme


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php