OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK: 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC