← Prev in month ← Prev in thread

Discard leading/trailing whitespace in <title> elements?

From
Paul DuBois <>
Date
2005-03-29T16:05:36+00:00
ID
Thread
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.
← Prev in month ← Prev in thread