xsl-list
[Top] [All Lists]

Re: XSLT 2 backwards compatibility (wsd: Normalize / Simplify HTML-Tables with row-span / col-span)

2004-02-17 02:30:41
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