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: Customizing Chapter Titel


I'm trying to follow to customizing of a chaper: http://www.sagehill.net/docbookxsl/TitleFontSizes.html

I did incluce my new component.xsl in my customizing layer and without modification it works. Once I copy the example template into my co,mponent.xsl I receive:

C:\Users\vogella\workspace\docu\de.vogella.publishing\buildpdf.xml:190: javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected.

I copy the following:

<xsl:template name="chapappendix.title">
  <xsl:param name="node" select="."/>

  <fo:block xsl:use-attribute-sets="chap.label.properties">
    <xsl:call-template name="gentext">
      <xsl:with-param name="key">
          <xsl:when test="$node/self::chapter">chapter</xsl:when>
          <xsl:when test="$node/self::appendix">appendix</xsl:when>
    <xsl:text> </xsl:text>
    <xsl:apply-templates select="$node" mode="label.markup"/>
  <fo:block xsl:use-attribute-sets="chap.title.properties">
    <xsl:apply-templates select="$node" mode="title.markup"/>

Any advice?

Best regards, Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter

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