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]
Other format: [Raw text]

[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.



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