What is it?


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


Simple variant

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'?>

XHTML with ssx tags

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'>
  <ssx:error>Error message</ssx:error>

XHTML with local tags

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>


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


  1. [WSGI] http://www.python.org/dev/peps/pep-0333/