OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Re: Saxon 9


Florent Georges wrote:
> Dave Pawson wrote:
> 
>   Hi Dave,
> 
>> That would be a nice piece of debug information to add either way?
>> Especially as docbook moves towards v5 and xslt 2.0
> 
>   Yes, good idea.  It would be nice to have something like the
> following in each docbook.xsl (for XSL-FO, HTML, XHTML, ...), somewhere
> near the top of the template rule matching "/":
> 
>     <xsl:comment>
>        <xsl:text>&_#10;    Version:    </xsl:text>
>        <xsl:value-of select="system-property('xsl:version')"/>
>        <xsl:text>&_#10;    Vendor:     </xsl:text>
>        <xsl:value-of select="system-property('xsl:vendor')"/>
>        <xsl:text>&_#10;    Vendor URL: </xsl:text>
>        <xsl:value-of select="system-property('xsl:vendor-url')"/>
>        <xsl:text>&_#10;</xsl:text>
>     </xsl:comment>
> 
> in order to have a comment like this one at the top of each generated
> file:
> 
>     <!--
>        Version:    2.0
>        Vendor:     SAXON 9.0.0.6 from Saxonica
>        Vendor URL: http://www.saxonica.com/
>     -->


For the fo output, (guessing that newbies don't look at the fo)
perhaps an xsl:message?

So many people rely on the installed Java for the transform,
it might be instructive for them to see
which engine they were using?

regards



regards

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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]