This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
XSL: fix extra space in biblioentry copyright
- To: ndw at nwalsh dot com
- Subject: DOCBOOK-APPS: XSL: fix extra space in biblioentry copyright
- From: Jon Willeke <willeke at intersys dot com>
- Date: Tue, 6 Jun 2000 12:38:38 -0400
- Cc: docbook-apps at lists dot oasis-open dot org
I'm using DocBook XML 4.0 with version 1.13 of the XSL DocBook Stylesheets.
I have a bibliography with the following entry:
<biblioentry>
...
<copyright>
<year>1999</year>
</copyright>
...
</biblioentry>
This generates the following HTML:
<span class="copyright">Copyright © 1999 .</span>
The holder element is optional, so I'd like to remove the extra space when
it is not present. Here's a fix to html/biblio.xsl:
335c335
< <xsl:call-template name="gentext.space"/>
---
> <!-- *jcw, 6/6/00: fix extra space -->
349a350,351
> <!-- *jcw+1, 6/6/00: fix extra space -->
> <xsl:call-template name="gentext.space"/>
This fix, if you find it acceptable, should be ported to fo/biblio.xsl,
html/titlepage.xsl, and fo/titlepage.xsl as well.
--
Jon Willeke, Quality Engineer
InterSystems Corp.
One Memorial Drive, Cambridge, MA 02142