This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Discard leading/trailing whitespace in <title> elements?
- From: Paul DuBois <paul at kitebird dot com>
- To: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 29 Mar 2005 10:05:33 -0600
- Subject: [docbook-apps] Discard leading/trailing whitespace in <title> elements?
I'm using DocBook XSL with FOP to generate PDF.
With a <title> like this:
<title>My Title</title>
The output looks like this:
Section X.Y "My Title"
With a <title> like this:
<title>
My Title
</title>
The output looks like this, with a space between the quote characters
and the title content:
Section X.Y " My Title "
This retention of surrounding whitespace around element content does
not occur for elements such as <para>. Is there something I can do
to cause surrounding whitespace to be discarded for <title> elements
as well.