<hr> tag in DITA

akhoy
Posts: 8

<hr> tag in DITA

Thu Nov 23, 2017 4:42 pm

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.
Radu
Posts: 5129

Re: <hr> tag in DITA

Fri Nov 24, 2017 8:50 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests