<hr> tag in DITA

Posts: 8
Joined: Tue Jul 25, 2017 12:47 pm

<hr> tag in DITA

Post by akhoy » Thu Nov 23, 2017 4:42 pm


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?


Posts: 6205
Joined: Fri Jul 09, 2004 5:18 pm

Re: <hr> tag in DITA

Post by Radu » Fri Nov 24, 2017 8:50 am


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

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.

Radu Coravu
<oXygen/> XML Editor

Post Reply