Skip to main content
Participant
October 30, 2017
Question

Loosing dita tags during ant conversion

  • October 30, 2017
  • 1 reply
  • 559 views

At this company, we use a script to convert our .xml files created in FrameMaker into .html files for use in RoboHelp to generate help.

But I am loosing formatting only in my reference files. We use definitions lists (<dl>) extensively in the reference files but the heading tag (<dlhead><dthd>) is being lost and the heading is displaying just like any other definition tag (<dt>). As shown here:

Before running ant conversion (.xml):

<dl>

    <dlhead><dthd>Interval section</dthd></dlhead>

    <dlentry><dt>Interval Type</dt>

    <dd>Select the interval type: Repetitive,

    Not Repetitive, or On Request.</dd></dlentry>

After running ant conversion (.html):

<dl>

<dt><strong>Interval section</strong></dt>

<dt class="dlterm">Interval Type</dt>

<dd>Select the interval type: Repetitive,

Not Repetitive, or On Request.</dd>

Since this is immediately after running ant, it can't be a stylesheet problem, but after two hours of diagnostics, I don't know where to look. I am a writer, not a techie.

Any help is appreciated.

This topic has been closed for replies.

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
October 30, 2017

Has this ever worked before? If so, what's changed? If not, what are you actually importing or linking in RH (what versions, btw?)?

Participant
October 30, 2017

We recently upgraded to Adobe Technical Communication Suite 2017. Once we have run the script to do the ant conversion to .html files, we wind up with an .hhp file that we import into RoboHelp. But I put a pause in the script so that I can see the file before it gets imported. So this is happening with the Adobe Ant stuff.

Apparently this has been happening since before I joined the company, but no one wanted to find a cure.

Jeff_Coatsworth
Community Expert
Community Expert
October 30, 2017

I'm not familiar with your workflow at all, but do you have some Conversion Settings set up in RH to control how to treat incoming content? That's the normal flow when dealing with FM content coming into RH.