OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Customizing stylesheet


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
bobs@sagehill.net


----- Original Message ----- 
From: "Lwam Berhane" <berhane@punkt.de>
To: <docbook-apps@lists.oasis-open.org>
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             info@punkt.de    http://punkt.de/
AG Mannheim 108285          Gf: Jürgen Egeling

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





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]