Hi Lwam,
As listed, this stylesheet has a line that should cause it to fail. Under your <!--header--> comment is an <xsl:apply-templates> element, but that can only appear inside of an xsl:template. I'm surprised you didn't get an error message about it.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Lwam Berhane" <[email protected]>
To: <[email protected]>
Sent: Tuesday, June 28, 2011 1:33 AM
Subject: [docbook-apps] Customizing stylesheet


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?


<!--margin left-->

<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>


<!--header-->

         <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>


<!--font-->

  <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>

<!--line spacing-->
  <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             [email protected]    http://punkt.de/
AG Mannheim 108285          Gf: Jürgen Egeling

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to