docbook customization stylesheet

Discussion in 'XML' started by Daniel Meilleur, May 19, 2005.

  1. Hi,

    I try to use a customization stylesheet following example given by
    B.Stayton
    (http://www.sagehill.net/docbookxsl/CustomGentext.html#CustomGenText)
    i.e.:

    <?xml version='1.0'?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">

    <xsl:import href="/usr/share/docbook-xsl/xhtml/docbook.xsl"/>

    <xsl:param name="local.l10n.xml" select="document('')"/>
    <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
    <l:l10n language="en">
    <l:context name="xref-number-and-title">
    <l:template name="chapter" text="Chapter %n: “%t”"/>
    </l:context>
    </l:l10n>
    <l:l10n language="fr">
    <l:context name="xref-number-and-title">
    <l:template name="chapter" text="Chapitre %n: “%t”"/>
    </l:context>
    </l:l10n>
    </l:i18n>

    </xsl:stylesheet>

    It does not work. In the docbook distribution, there is a style sheet
    'chunk.xsl' which import 'docbook.xsl' to producs many xhtml files from
    one large source document. I have try to include the preceding script in
    this file : it does not work either.

    Am I in the right group? Is there an active mailing list for docbook?

    Daniel Meilleur
     
    Daniel Meilleur, May 19, 2005
    #1
    1. Advertising

  2. Michael Wiedmann, May 20, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=

    Stylesheet referanse i stylesheet

    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=, Jul 3, 2004, in forum: XML
    Replies:
    3
    Views:
    608
    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=
    Jul 4, 2004
  2. Thomas Sommer

    Docbook dtd customization

    Thomas Sommer, Sep 30, 2004, in forum: XML
    Replies:
    0
    Views:
    378
    Thomas Sommer
    Sep 30, 2004
  3. Antonio Amato
    Replies:
    2
    Views:
    1,333
    Michael Wiedmann
    Nov 18, 2004
  4. Replies:
    1
    Views:
    546
    Joseph Kesselman
    Nov 27, 2007
  5. Jim Cain
    Replies:
    0
    Views:
    125
    Jim Cain
    Jul 11, 2003
Loading...

Share This Page