docbook-apps

  • 1.  Re: [docbook-apps] titlepage customization

    Posted 11-25-2006 23:56
    Hi Stefan,
    Actually the titlepage.templates.xsl file is output file, not the
    processing stylesheet for that process. See this reference for more info:

    http://www.sagehill.net/docbookxsl/TitlePageNewElems.html

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] titlepage customization

    Posted 11-26-2006 12:30
    Dear Bob,
    thanks for the initial help. I am quite new to docbook.

    I did as you pointed out.

    I also added a customization file docbook2.xsl

    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:import href="docbook.xsl"/>
    <xsl:include href="titlepage.my.xsl"/>
    </xsl:stylesheet>


    Then I tried to create a fo-file, but it shows error.


    Buildfile: C:\workspace\mathlib\build.xml
    xmltofo:
    [java] Error at xsl:stylesheet on line 2 of
    file:/C:/workspace/mathlib/Documentation/src/DocBook/xsl/fo/titlepage.my.xsl:
    [java] Namespace prefix exsl has not been declared
    [java] Error at xsl:when on line 92 of
    file:/C:/workspace/mathlib/Documentation/src/DocBook/xsl/fo/titlepage.my.xsl:
    [java] Namespace prefix exsl has not been declared
    [java] Error at xsl:value-of on line 92 of
    file:/C:/workspace/mathlib/Documentation/src/DocBook/xsl/fo/titlepage.my.xsl:
    [java] Namespace prefix exsl has not been declared
    [


    I removed the word "exsl" from a line in
    the file template/titlepage.xsl

    exclude-result-prefixes="doc t param exsl" -->
    exclude-result-prefixes="doc t param"

    and afterwards the generation of the fo-file worked quite well.

    Did I do something wrong in the first place?

    Thanks,
    Stefan.


    Bob Stayton wrote:
    > Hi Stefan,
    > Actually the titlepage.templates.xsl file is output file, not the
    > processing stylesheet for that process. See this reference for more info:
    >
    > http://www.sagehill.net/docbookxsl/TitlePageNewElems.html
    >
    > Bob Stayton
    > Sagehill Enterprises
    > DocBook Consulting
    > bobs@sagehill.net
    >
    >
    >


  • 3.  RE: [docbook-apps] titlepage customization

    Posted 11-26-2006 13:10
    >