> From: Martin Stemplinger <[EMAIL PROTECTED]> > > i just started using DocBookXML to produce both online documents (html) and > printable documents (pdf) and encountered the following problem: while the > html stylesheet includes the author on the titlepage by default, pdf does > not. I had to copy the xsl-template for author to articleinfo/author to > achive the desired result. Am i missing something or is it a bug in the > xsl-stylesheets? > > I use xalan/fop for pdf output and xalan for html output. The docbook xml > dtd is V4.1.2 and the xsl stylesheet is V1.44. > > The xml-file looks like this: > > <?xml version="1.0" encoding="iso-8859-1" standalone="no"?> > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" > "file:///g:/docbook/dbxml/docbookx.dtd"> > <article class="whitepaper" status="Draft" lang="de"> > <articleinfo> > <title>Sample DocBook Document</title> > <author> > <firstname>Martin</firstname> > <surname>Stemplinger</surname> > <affiliation> > <jobtitle>Writer</jobtitle> > <orgname>Acme corp.</orgname> > </affiliation> > </articleinfo> > <sect1><para>Just a test!</para></sect1> > </article> > > Any help appreciated!
Well, it works for me (after I add the missing </author> closing tag to your example, which I assume you had in your file). In my PDF output I see the author name appearing under the title on the first page. I'm using XSL 1.44, and xsltproc to produce the fo file, but I don't think xalan would lose an element that the stylesheet specified. bobs 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: [EMAIL PROTECTED] ---------------------------------------------------------------- To subscribe or unsubscribe from this elist use the subscription manager: <http://lists.oasis-open.org/ob/adm.pl>