How to output a clickable check box?

Post here questions and problems related to editing and publishing DITA content.
Lemesany
Posts: 21
Joined: Wed Jan 25, 2017 11:21 pm

How to output a clickable check box?

Post by Lemesany »

I need to create a check box like https://www.w3.org/TR/2006/WD-WCAG20-20 ... ndixB.html
How can I mark this up in DITA?
Radu
Posts: 9116
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to output a clickable check box?

Post by Radu »

Hi,
The DITA XML standard itself does not have support to define checkboxes, forms.
I think you could either use the DITA XML <boolean> element to represent a state (but you would need to create a publishing specialization to convert it to a specific HTML element):
https://www.oxygenxml.com/dita/1.3/spec ... olean.html
Or embed HTML content directly inside the DITA content using the <foreign> element:
https://www.oxygenxml.com/doc/ug-editor ... -html.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply