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




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