[OSM-dev] xsltrans

Jochen Topf jochen at remote.org
Wed Dec 20 14:05:26 GMT 2006


Hi!

There are several OSM tools which use XSL transformations and they all
have to support different XSLT implementations, which is a bit
cumbersome. I have pulled all this stuff out into a new little shell
script called "xsltrans" which you can find in the subversion now.

You can just call xsltrans from your scripts and it knows about the
different XSLT engines (xsltproc, xmlstarlet, xalan (C++), xalan (Java))
and their call syntax and do the right thing. If you have set the env
variable XSLTRANS to any of those implementations, it will call that
one. Otherwise it will search for one and use it. Please send patches or
change the script yourself, if it doesn't work for you.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298





More information about the dev mailing list