Re: [docbook-apps] Re: Saxon 9

From
Dave Pawson <>
Date
2008-08-19T10:12:36+00:00
ID
Thread
Re: [docbook-apps] Re: Saxon 9
Florent Georges wrote:

>   If I am right, even with version="1.0", Saxon 9 should recognize
> xsl:result-document.  But is it really Saxon 9?  I would test it for
> real with something like:
> 
>     <xsl:template match="/">
>        <info>
>           <version info="{ system-property('xsl:version') }"/>
>           <vendor info="{ system-property('xsl:vendor') }"/>
>           <vendor-url info="{ system-property('xsl:vendor-url') }"/>
>        </info>
>     </xsl:template>
> 
> (maybe added in the original stylesheet, using xsl:comment to put this
> info in a comment in the original output, using exactly the same system
> to run the transform).
> 
>   JAXP is not always giving you the processor implementation you think
> it would ;-)


That would be a nice piece of debug information to add either way?
Especially as docbook moves towards v5 and xslt 2.0

Very useful for this list at least!


regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk