2nd Section Title not being output

Post here questions and problems related to editing and publishing DITA content.
bdew
Posts: 11
Joined: Mon Mar 03, 2014 5:11 pm
Location: Shawnee, KS

2nd Section Title not being output

Post by bdew »

We are using the example code below to test out various formatting in the default WebHelp transform in Oxygen 15.2. We have noticed that the 2nd section title "Section One Title Two" does not output when publishing. Is there something we can update/change to allow this to happen?

Code: Select all

  <refbody>
<section>
<title>Section One Title One</title>
<p audience="internal" platform="syndm uc">This is a paragraph under the S1
T1 title.</p>
<ul id="ul_e1p_znz_2q">
<li audience="external">Attribute: audience | Value: internal</li>
<li audience="external internal">Attribute: audience | Value:
external</li>
</ul>
<title>Section One Title Two</title>
<p>This is a paragraph under the S1 T2 title.</p>
</section>
Thanks!
Bryan
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: 2nd Section Title not being output

Post by Radu »

Dear Bryan,

Although the DTD used to validate the topic content does not complain when you use two titles in a section, what you are doing is not quite right according to the specification:

http://docs.oasis-open.org/dita/v1.2/os ... ml#section
A section may have an optional title.
and the publishing engine does not expect that a section could contain two titles inside it, thus it seems to ignore the second one.
You could try to rewrite your content to have two sections one after the other instead of having one section with two titles.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply