Next in thread → Next in month →

Re: [docbook-apps] titlepage customization - found more than one template

From
Peter Fleck <>
Date
2014-05-09T19:29:46+00:00
ID
Thread
Re: [docbook-apps] titlepage customization - found more than one template
Brilliant yeah that worked. Many
      thanks, appreciate it.

      

      Peter

      
 

        

      On 09/05/14 17:49, Bob Stayton wrote:

    

    Hi
      Peter,
      

      Change the xsl:include to xsl:import.  That was a mistake in my
      book, added to the errata page:
      

      

      http://sagehill.net/book-errata.html
      

      

      Bob Stayton
      

      Sagehill Enterprises
      

      
      

      

      On 5/9/2014 7:38 AM, Peter Fleck wrote:
      

      Ok, I've tried repeatedly and now have to
        admit that I must be doing
        

        something silly somewhere.
        

        

        I copied the /titlepage.templates.xml/ made the changes I wanted
        used
        

        xsltproc to create my custom titlepage.xsl.
        

        In my customization file I have:
        

        

        <?xml version='1.0'?>
        

        

        <xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        

        xmlns:d="http://docbook.org/ns/docbook"
        

        xmlns:exsl="http://exslt.org/common"
        

        xmlns:fo="http://www.w3.org/1999/XSL/Format"
        

        xmlns:ng="http://docbook.org/docbook-ng"
        

        xmlns:db="http://docbook.org/ns/docbook"
        exclude-result-prefixes="db ng
        

        exsl d" version="1.0">
        

        

             <xsl:output method="xml" indent="no" />
        

        

             <xsl:include
        href="" />
        

        

             <xsl:include href="" />
        

        

        ....
        

        

        ....
        

        

        </xsl:stylesheet>
        

        

        

        The stylesheet was working fine before I add the titlepage
        customizations.
        

        

        Now I get:
        

        

        (Location of error unknown) java.lang.RuntimeException:
        

        ElemTemplateElement error: Found more than one template named:
        

        component.list.of.unknowns.titlepage
        

        

        

        Am I missing some part of the titlepage customization process?
        

        

        Thanks,
        

        

        Peter
        

        <skype:peterfleck?call>
Next in thread → Next in month →