This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

titlepage customization


hi there,

I'm trying to generate a titlepage.xsl file as described in the docs.
Within templates/ I execute

4xslt -o testtemplate.xsl testtemplate.xml titlepage.xsl

However, the resulting xsl file looks not correct and I'm wondering what 
the problem is. Here is the resulting file:

<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version='1.0' 
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<!-- This stylesheet was created by template/titlepage.xsl; do not edit 
it by hand. -->

<xsl:import href='../html/docbook.xsl'/>docbook.css

   <xsl:apply-templates select='corpauthor|author|editor' 
mode='article.titlepage.recto.auto.mode'/>


<xsl:template name='article.titlepage'>
   < side='recto'>
     <xsl:call-template name='article.titlepage.before.recto'/>
     <xsl:call-template name='article.titlepage.recto'/>
     <xsl:call-template name='article.titlepage.before.verso'/>
     <xsl:call-template name='article.titlepage.verso'/>
     <xsl:call-template name='article.titlepage.separator'/>
   </>
</xsl:template>
   <xsl:apply-templates select='authorgroup|author' 
mode='.titlepage.recto.auto.mode'/>

</xsl:stylesheet>

i.e., the article.titlepage template looks as if the first child
element is just missing its name (hence the empy '</>' at the end.... Is 
that 4xslt's fault or is the problem on docbook's side ? (I tried with 
different versions of the docbook xsl stylesheets).

Thanks,
		Stefan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]