Page 1 of 1

<hr> tag in DITA

Posted: Thu Nov 23, 2017 4:42 pm
by akhoy
Hi,

When I add a <hr> tag in the Oxygen editor, it is ignored before generating DITA XML. It looks like it's not supported. Is there an alternative for adding a horizontal line?

Thanks.

Re: <hr> tag in DITA

Posted: Fri Nov 24, 2017 8:50 am
by Radu
Hi,

As far as I know there is no <hr> element in the DITA standard.
Maybe you could add a "<div outputclass="hr"/>" and then create a custom CSS which does something like:

Code: Select all

.hr{
     border-top: 1px solid black;
}


In the transformation scenario in the Parameters list there is an args.css param which should point to your custom CSS and an args.css.copy param which can be enabled to automatically copy your custom CSS to the output folder.

Regards,
Radu