if (grep 'xsl:version.*version=.1.0.' $1)
then
saxon6 $*
else
saxon7 $*
fi
I hope the result is a compliant version 2 processor.
(I know the grep doen't catch all possible cases, but ...)
A validator can be used instead of grep. Grammars to determine
which version to use are tiny. On the other hand, saxon6 does not
seem to be supported.
David Tolpin
http://davidashen.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list