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


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

author in titlepage differences between fo and html


Hi all,

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!

Regards Martin

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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