docbook-apps

  • 1.  xslthl support in XSL 1.75.0 ?

    Posted 05-16-2009 11:27
    Do DocBook XSL and XSL-NS 1.75.0 support version 2 of xslthl ?




  • 2.  Re: [docbook-apps] xslthl support in XSL 1.75.0 ?

    Posted 05-16-2009 11:59
    Ian Moor wrote:
    > Do DocBook XSL and XSL-NS 1.75.0 support version 2 of xslthl ?


    Guessing you mean XSLT 2.0?

    No, that's a separate development, still under way.

    1.75 uses XSLT 1.0


    regards

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



  • 3.  Re: [docbook-apps] xslthl support in XSL 1.75.0 ?

    Posted 05-16-2009 12:27
    DavePawson wrote:
    > Ian Moor wrote:
    >> Do DocBook XSL and XSL-NS 1.75.0 support version 2 of xslthl ?
    >
    >
    > Guessing you mean XSLT 2.0?
    >
    > No, that's a separate development, still under way.
    >
    > 1.75 uses XSLT 1.0
    >
    >
    > regards
    >
    Too many acronyms!
    I meant XSLT syntax highlighting at http://xslthl.wiki.sourceforge.net/

    The DocBook XSL Updates page says:
    "At the moment of writing DocBook XSL (1.74) only supports the 1.3
    version of xslthl. This page lists information on how to patch
    DocBook XSL to use the power of xslthl 2.x."

    I wondered if I could avoiding to patch the 1.75 stylesheets






  • 4.  Re: [docbook-apps] xslthl support in XSL 1.75.0 ?

    Posted 05-16-2009 15:39
    Ian Moor wrote:
    > Do DocBook XSL and XSL-NS 1.75.0 support version 2 of xslthl ?

    Yes,

    however in order to overcome some compatibility problem between
    different XSLT processors is now necessary to import additional file
    into your customization layer if you want to use this feature. See
    README file in highlighting directory:

    To use the syntax higlighting extension with DocBook-XSL 1.74.3+, you must:
    1. Use a processor that works with the extension: Saxon 6 or Xalan-J.
    2. Add the latest version of xslthl-2.X.X.jar to your classpath.
    3. Set the highlight.source parameter to 1.
    4. Import into your customization one of the following stylesheet module:
    * html/highlight.xsl
    * xhtml/highlight.xsl
    * xhtml-1_1/highlight.xsl
    * fo/highlight.xsl
    5. Use that customiztion layer.


    Note: Saxon 8.5 or later is also supported, but since it is an XSLT 2.0
    processor it is not guaranteed to work with DocBook-XSL in all
    circumstances.


    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------