[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: titlepage customization
On Fri, Dec 07, 2001 at 05:05:14PM -0500, Stefan Seefeld wrote: > 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). I think this is a problem with 4xslt. It works with xsltproc. It looks like 4xslt did not handle the t: namespace that the stylesheet uses. Does it have a problem with namespaces in XML? -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC