docbook-apps

  • 1.  Re: [docbook-apps] Saxon 6 or 9 ? And extensions - extensions/saxon65 or use docbook-xsl-saxon

    Posted 07-23-2012 17:58
    Hi Richard,
    The DocBook XSL stylesheets that are the most solid are written in XSL 1.0 (version 1.77.1 is the latest distribution), for which Saxon 6 is most compatible. Saxon 9 is an XSL 2.0 processor that can fall back to 1.0 behavior if you use those stylesheets, but you may run into compatibility issues.

    The XSL 1.0 stylesheets are available in two versions: docbook-xsl-1.77.1 is for non-namespaced DocBook (DocBook version 4 and earlier), and docbook-xsl-ns-1.77.1 is for namespaced DocBook (version 5). I would recommend the latter for you.

    There are also new XSL 2.0 stylesheets for DocBook, and some people are starting to use them, but they are still under development and I personally can't speak to their current status and any extensions.

    The current Saxon extensions are indeed for version 6. They are included with the docbook-xsl distribution in the extensions directory, so I'm not clear why anyone would need a separate docbook-xsl-saxon-1.0 distribution?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: Kerry, Richard
    To: DocBook Apps Mailing List ?[docbook-apps@lists.oasis-open.org]?
    Sent: Friday, July 20, 2012 4:43 AM
    Subject: [docbook-apps] Saxon 6 or 9 ? And extensions - extensions/saxon65 or use docbook-xsl-saxon




    Just putting together a new DocBook system using Saxon.



    Using Docbook 5. (5.1 still looks to be beta)



    Should I be using Saxon 6 or 9 ?

    And if 6 I note that there are some extensions available. In that case do I just need what's in extensions (ie extensions/saxon65.jar) or should I use docbook-xsl-saxon-1.0 ? (is there anything else that docbook-xsl-saxon gives me that I might need ?).

    If Saxon 9 are there any extensions I need ?







    Appreciatlvely,

    Richard.








    Richard Kerry

    BNCS Engineer


    T: +44 (0)20 82259063

    M: +44 (0)7812 325518

    Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ

    richard.kerry@atos.net

    uk.atos.net







    This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



    ------------------------------------------------------------------------------



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


  • 2.  Re: [docbook-apps] Saxon 6 or 9 ? And extensions - extensions/saxon65 or use docbook-xsl-saxon

    Posted 07-23-2012 18:56
    Hi Richard,

    Am Montag, 23. Juli 2012, 10:58:21 schrieb Bob Stayton:
    > The DocBook XSL stylesheets that are the most solid are written in XSL 1.0
    > (version 1.77.1 is the latest distribution), for which Saxon 6 is most
    > compatible. Saxon 9 is an XSL 2.0 processor that can fall back to 1.0
    > behavior if you use those stylesheets, but you may run into compatibility
    > issues.

    I tried to run Saxon9 with the XSLT 1.0 stylesheets and it didn't work due to
    EXSLT extension(s). Saxon9 doesn't support the exsl:document, saxon:output,
    and exsl:node-set extensions anymore, because XSLT 2 has already a similar
    element or it's not needed anymore.

    See also my thread last year about this topic (originally with Calabash):
    https://lists.oasis-open.org/archives/docbook-apps/201112/msg00086.html

    --
    Gruß/Regards
    Thomas Schraitle




  • 3.  RE: [docbook-apps] Saxon 6 or 9 ? And extensions - extensions/saxon65 or use docbook-xsl-saxon

    Posted 07-30-2012 09:38

    Bob,

    Thanks for this; it is pretty much as I thought.
    I'll use Saxon6 then, and the namespaced 1.77 stylesheets.


    If the docbook-xsl-saxon-1.0 is deprecated perhaps it could be removed from SourceForge, or something be put in its README to that effect.


    Regards,
    Richard.



    ________________________________
    From: Bob Stayton [mailto:bobs@sagehill.net]
    Sent: 23 July 2012 18:58
    To: Kerry, Richard; docbook-apps@lists.oasis-open.org
    Subject: Re: [docbook-apps] Saxon 6 or 9 ? And extensions - extensions/saxon65 or use docbook-xsl-saxon

    Hi Richard,
    The DocBook XSL stylesheets that are the most solid are written in XSL 1.0 (version 1.77.1 is the latest distribution), for which Saxon 6 is most compatible. Saxon 9 is an XSL 2.0 processor that can fall back to 1.0 behavior if you use those stylesheets, but you may run into compatibility issues.

    The XSL 1.0 stylesheets are available in two versions: docbook-xsl-1.77.1 is for non-namespaced DocBook (DocBook version 4 and earlier), and docbook-xsl-ns-1.77.1 is for namespaced DocBook (version 5). I would recommend the latter for you.

    There are also new XSL 2.0 stylesheets for DocBook, and some people are starting to use them, but they are still under development and I personally can't speak to their current status and any extensions.

    The current Saxon extensions are indeed for version 6. They are included with the docbook-xsl distribution in the extensions directory, so I'm not clear why anyone would need a separate docbook-xsl-saxon-1.0 distribution?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net<mailto:bobs@sagehill.net>


    ----- Original Message -----
    From: Kerry, Richard<mailto:richard.kerry@atos.net>
    To: DocBook Apps Mailing List ?[docbook-apps@lists.oasis-open.org]?<mailto:docbook-apps@lists.oasis-open.org]?>
    Sent: Friday, July 20, 2012 4:43 AM
    Subject: [docbook-apps] Saxon 6 or 9 ? And extensions - extensions/saxon65 or use docbook-xsl-saxon




    Just putting together a new DocBook system using Saxon.



    Using Docbook 5. (5.1 still looks to be beta)



    Should I be using Saxon 6 or 9 ?

    And if 6 I note that there are some extensions available. In that case do I just need what's in extensions (ie extensions/saxon65.jar) or should I use docbook-xsl-saxon-1.0 ? (is there anything else that docbook-xsl-saxon gives me that I might need ?).

    If Saxon 9 are there any extensions I need ?







    Appreciatlvely,

    Richard.






    Richard Kerry
    BNCS Engineer
    T: +44 (0)20 82259063
    M: +44 (0)7812 325518
    Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ
    richard.kerry@atos.net<https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&URL=mailto%3arichard.kerry%40atos.net>
    uk.atos.net<https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&URL=http%3a%2f%2fuk.atos.net%2fen-uk%2f>
    This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

    ________________________________

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org