xsl-stylesheets/manpages

From
Blain ONQSBM
Date
2003-05-19T15:24:24+00:00
ID
Thread
xsl-stylesheets/manpages
Hi,

Because I'm making the french translation of the Openjade and OpenSP man 
pages, I need to customize the docbook.xsl stylesheet provide by xmlto.

Infortunately, more I read about xml and xslt, less I understand. So I hope 
find some help on the list.

I want to add two refsect1 ( TRANSLATION and REVIEWING (of course, in french)) 
after the AUTHORS section, using the <othercontrib> tag.
Here is a piece of the xml source :

<?xml version='1.0' encoding="ISO-8859-15"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
 "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-8/docbookx.dtd">
<article lang="fr">
	<articleinfo>
		<title>openjade</title>
		<author>
			<firstname>James</firstname>
			<surname>Clark</surname>
		</author>
		<author>
			<firstname>Ian</firstname>
			<surname>Castle</surname>
			<affiliation><email></email></affiliation>
		</author>
		<othercredit role="translation">
			<firstname>Alain</firstname>
			<surname>PORTAL</surname>
			<affiliation><email>aportal AT univ-montp2 DOT fr</email></affiliation>
			<contrib><para>
				Je remercie infiniment Éric Bischoff sans lequel cette traduction
				aurait eu du mal à voir le jour.</para>
			</contrib>
		</othercredit>
		<othercredit role="reviewer">
			<firstname>Robin</firstname>
			<surname>DUBOIS</surname>
			<affiliation><email>robin.hood AT nottingham DOT uk</email></affiliation>
			<contrib><para>Je remercie Alain de m'avoir permis de relire ce 
texte.</para></contrib>
		</othercredit>
		<copyright>
			<year>2002</year>
			<holder>OpenJade Project</holder>
		</copyright>
		<pubdate>19 mai 2003</pubdate>
	</articleinfo>

</article>

And here is that I want :

AUTEURS
       James Clark, Ian Castle <>.

TRADUCTION
       Alain PORTAL <aportal AT univ-montp2 DOT fr>, 14 mai 2003.
       Je remercie infiniment Éric Bischoff sans lequel cette traduction
       aurait eu du mal à voir le jour.

RELECTURE
       Robin DUBOIS <robin.hood AT nottingham DOT uk>.
       Je remercie Alain de m'avoir permis de relire ce texte.

Could somebody help me ?

Regards
-- 
Alain PORTAL
Service Commun de Microscopie Electronique
Case Courrier 087
Université de Montpellier II
Place Eugène Bataillon
34095 Montpellier Cedex 05

Tél. : 04 67 14 37 35
Fax. : 04 67 14 37 37
E-mail : 

http://www.univ-montp2.fr/~micro-elec-web/