Next in thread → Next in month →

RE: [docbook-apps] XSL Chapter Customization

From
Mauritz Jeanson <>
Date
2008-05-30T15:40:03+00:00
ID
000101c8c26b$6a6014b0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] XSL Chapter Customization
> -----Original Message-----
> From: Chedly GUERFALI 
 
> <xsl:stylesheet 
>             version="1.0"
>             xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
>             xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
>             <xsl:param name="local.l10n.xml" select="document('')"/>
> 
>             <l:i18n 
> xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
>                         <l:l10n language="en">
>                                     <l:context name="title">
>                                                 <l:template 
> name="chapter" text="%t"/>
>                                     </l:context>
>                         </l:l10n>
>                         </l:i18n>  
> </xsl:stylesheet>
> 
> But I always have errors while processing with Xalan.


You need to import the standard stylesheets to the customization:

<xsl:import href="/your/path/to/xsl/fo/docbook.xsl"/>

See http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer

/MJ
Next in thread → Next in month →