Re: [docbook-apps] Re: Saxon 9

From
Florent Georges <>
Date
2008-08-19T08:43:11+00:00
ID
Thread
Re: [docbook-apps] Re: Saxon 9
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/
    -->

  Regards,

--drkm






















      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr