<hr> tag in DITA

Posts: 8

<hr> tag in DITA

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: 6001

Re: <hr> tag in DITA

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

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

Who is online

Users browsing this forum: No registered users and 2 guests