XSLT Sablotron Demo
-
program.php takes programme.xml + programme.xsl and outputs html.
WARNING: this thing is currently BROKEN. We moved to php5, so it only works
on an old php4.x + sablotron installation.
-
xmlgrove shows a more famous XML / XSLT / SVG example. It's partly
broken, because sablotron lacks features of saxxon (May 2002).
(LOCAL access only,
because it's CPU intensive ! See the project-tree.php.src file
and get the rest from
the orginial XML Grove.
Warning: Tested with Sablotron 0.8.2 and php 4.1.1. Don't think
that older Sablotrons have been the same ...
NOTE: Have to recompile Sablotron to get encoding support I think.
See XSLT Functions and click through all the functions. Avoid some tutoriels
on the Web on XSLT with PHP/Sablorton that deal with older versions (or fix them :)
Of course one could do fancier things that just associate 2 files. E.g. not
wrap the result into <html> but fragments of html and do some LEGO.
D.K.S.
Last modified: Wed Jan 19 16:24:41 MET 2005