docbook-apps

  • 1.  Customizing stylesheet

    Posted 06-28-2011 08:33
    Hi everybody!

    I write a little stylesheet. In this stylesheet I imported the docbook
    stylesheets.I integrated the new stylesheet in my build.xml.

    <xsl:import
    href="./docbook_config/docbook-xsl/docbook-xsl-ns-1.76.1/fo/docbook.xsl" />

    Now I want to overide several things but it does not work!Can somebody help?




    <xsl:param name="page.margin.inner">2cm</xsl:param>
    <xsl:param name="page.margin.top">3cm</xsl:param>
    <xsl:param name="page.margin.bottom">2cm</xsl:param>




    <xsl:apply-templates select="." mode="object.title.markup"/>
    <xsl:attribute-set name="header.content.properties">
    <xsl:attribute name="font-family">Arial</xsl:attribute>
    <xsl:attribute name="font-size">9pt</xsl:attribute>
    <xsl:attribute name="font-weight">bold</xsl:attribute>
    </xsl:attribute-set>




    <xsl:param name="body.font.family">Arial</xsl:param>

    <xsl:attribute-set name="section.title.properties">
    <xsl:attribute name="font-family">Arial</xsl:attribute>
    <xsl:attribute name="font-weight">bold</xsl:attribute>
    </xsl:attribute-set>


    <xsl:attribute-set name="root.properties">
    <xsl:attribute name="line-height">normal</xsl:attribute>
    </xsl:attribute-set>


    --
    Gruß Lwam Berhane



    punkt.de GmbH TYPO3-Internet-Dienstleistungen-Beratung
    Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
    76133 Karlsruhe info@punkt.de http://punkt.de/
    AG Mannheim 108285 Gf: Jürgen Egeling