Next in thread → Next in month →

Re: [docbook-apps] Overriding article template in HTML single output

From
Maxime Bégnis <>
Date
2013-04-03T14:29:23+00:00
ID
Thread
Re: [docbook-apps] Overriding article template in HTML single output
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="" moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/profile-docbook.xsl">"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

             
            


             
            
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

           
          


           
          
Tél: +33
                (0)4.42.52.24.20

           
          
5, rue de la Touloubre

           
          
13770
                Venelles

           
          
France

           
          
http://www.neodoc.fr/
Next in thread → Next in month →