Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > docbook customization stylesheet

Reply
Thread Tools

docbook customization stylesheet

 
 
Daniel Meilleur
Guest
Posts: n/a
 
      05-19-2005
Hi,

I try to use a customization stylesheet following example given by
B.Stayton
(http://www.sagehill.net/docbookxsl/C...#CustomGenText)
i.e.:

<?xml version='1.0'?>
<xsl:stylesheet xmlnssl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

<xsl:import href="/usr/share/docbook-xsl/xhtml/docbook.xsl"/>

<xslaram 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="xref-number-and-title">
<l:template name="chapter" text="Chapter %n: “%t”"/>
</l:context>
</l:l10n>
<l:l10n language="fr">
<l:context name="xref-number-and-title">
<l:template name="chapter" text="Chapitre %n: “%t”"/>
</l:context>
</l:l10n>
</l:i18n>

</xsl:stylesheet>

It does not work. In the docbook distribution, there is a style sheet
'chunk.xsl' which import 'docbook.xsl' to producs many xhtml files from
one large source document. I have try to include the preceding script in
this file : it does not work either.

Am I in the right group? Is there an active mailing list for docbook?

Daniel Meilleur

 
Reply With Quote
 
 
 
 
Michael Wiedmann
Guest
Posts: n/a
 
      05-20-2005
Daniel Meilleur wrote:

> Am I in the right group? Is there an active mailing list for docbook?


See the subscription manager at:
http://www.oasis-open.org/mlmanage/index.php

Michael
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DocBook: Pass DocBook-Path to Stylesheet tthunder@gmx.de XML 1 11-27-2007 12:08 AM
Transform XML docbook to HTML with docbook stylesheet Antonio Amato XML 2 11-18-2004 05:08 PM
Docbook dtd customization Thomas Sommer XML 0 09-30-2004 10:13 PM
Stylesheet referanse i stylesheet =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?= XML 3 07-04-2004 03:16 PM
A Ruby XSL stylesheet for DocBook? Jim Cain Ruby 0 07-10-2003 11:54 PM



Advertisments