HomeXML Transformation

STX examples

"Raw" example

ex.scm

ex.xml


"Spam" example

A simple example which demonstrates a use of Scheme function in STX stylesheet

mail.scm

mail.xml

mail.html


"Side-effect" examples

An example of STX stylesheets applyed for side effects:

make-fixture.scm

xpaths.sxml

xpath-fixture.scm (result)

An example of STX stylesheets applyed for side effects and tree transformation

make-examples.scm

xpaths.sxml

index.html
The stylesheet generates this index and all the files linked


"Soccer" examples

XSLT examples from Michael Kay's "What kind of language is XSLT?" implemented in STX.

These examples are STX analogs to Kurt Noermark's XML-in-LAML Soccer Examples considered in his ILC'03 presentation.

Basic

soccer.scm

soccer.sxml

soccer.html

Elaborate

soccer-table.scm

soccer.sxml

soccer-table.html


All the examples has been tested with MzScheme 205, ssax and sxml collections.

HomeXML Transformation