I just realized that the problem comes from the fact that I wasn't actually using the NS stylesheet as one can see in my code... :-[
It does work now, sorry. On 03/04/2013 16:18, Maxime Bégnis wrote: > Hello, > > I'm trying to override in my custom XSL the main article template in > HTML single output in this way: > > <xsl:import > href="http://docbook.sourceforge.net/release/xsl/current/xhtml/profile-docbook.xsl"/> > > <xsl:template match="d:article"> > <xsl:message>article</xsl:message> > ... > > But my template is never called. I can't figure out why. Can anyone help? > > Stylesheets version : 1.75.2 (NS) > The root element of the document (DocBook 5.0) is an article. > > Thanks. > > -- > -- > *NeoDoc* > *Maxime Bégnis* > [email protected] > Tél: +33 (0)4.42.52.24.20 > 5, rue de la Touloubre > 13770 Venelles > France > http://www.neodoc.fr/ -- -- *NeoDoc* *Maxime Bégnis* [email protected] Tél: +33 (0)4.42.52.24.20 5, rue de la Touloubre 13770 Venelles France http://www.neodoc.fr/
