Eg: <!-- xsltproc: ##stringparam medium cd --> in file.xml will
invoke:
xsltproc --stringparam medium cd file.xsl file.xml
We had to use a different notation for -- because that is
otherwise not allowed in XML comments.
echo "$t"
for m in ${t}?.xml; do
b=`basename $m .xml`
+ opt=`grep 'xsltproc:' $m|cut -d: -f2|cut -d- -f1|tr '#' '-'`
l=$b.log.xml
r=$b.res.xml
d=$b.dif
- xsltproc $x $m >$l
+ xsltproc $opt $x $m >$l
if test -f $r; then
if diff $l $r >$d; then
rm $d