<?xml version='1.0' encoding='utf-8'?> <div> <h1>Header</h1> Body </div>
This project was created in the middle of 2006 as php server-side transformation helper. Then python helper was created and finally all script-specific work was abandoned since I migrated to based web-applicatoins.
SSX is a simple set of XSL templates that simplify XHTML output
When You don't bother with domain-specific extensions or local templates you have only to point xslt engine to ssx.xslt
<?xml version='1.0' encoding='utf-8'?> <div> <h1>Header</h1> Body </div>
If you want to use some templates defined in ssx.xslt add xmlns:ssx declaration with namespace http://asp.mexmat.net/xmlns/ssx
<?xml version='1.0' encoding='utf-8'?> <div xmlns:ssx='http://asp.mexmat.net/xmlns/ssx'> <h1>Error</h1> <ssx:error>Error message</ssx:error> Body </div>
If you have your local namespace but still want to use ssx you must add line
<xsl:import href='path-to-ssx/ssx.xslt'/>
and then point xslt engine to yours xsl file.
<?xml version='1.0' encoding='utf-8'?> <items xmlns='urn:example.com:webapp'> <item id='1'>Item 1</item> <item id='2'>Item 2</item> </items>
Source is browsable via gitweb http://psha.org.ru/git/?p=ssx/.git or may be downloaded with
git clone git://psha.org.ru/ssx