Configure table element to always have frame
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Configure table element to always have frame
Post by ann.jensen »
Hi,
Is it possible to pre-configure in Oxygen XML Author so that a table element added in DITA will always have frame and cell separators turned on.
i.e.
Thanks in advance,
Ann
Is it possible to pre-configure in Oxygen XML Author so that a table element added in DITA will always have frame and cell separators turned on.
i.e.
Code: Select all
<table colsep="1" rowsep="1" frame="all">
Ann
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Configure table element to always have frame
Hi Ann,
Right now we do not have such a setting.
Probably this could be done by customizing the DITA framework customization with a custom Author action which could first call the default action for inserting a table, and then it would impose those three attribute values on the newly inserted table element. Do you want me to give you more details about this? Have you customized the DITA framework configuration until now? Have you added custom actions to it?
Or you could try to add some Schematron checks in your DITA project and complain with a warning when people forget to properly set those table attribute values:
http://blog.oxygenxml.com/2017/02/shari ... rules.html
Regards,
Radu
Right now we do not have such a setting.
Probably this could be done by customizing the DITA framework customization with a custom Author action which could first call the default action for inserting a table, and then it would impose those three attribute values on the newly inserted table element. Do you want me to give you more details about this? Have you customized the DITA framework configuration until now? Have you added custom actions to it?
Or you could try to add some Schematron checks in your DITA project and complain with a warning when people forget to properly set those table attribute values:
http://blog.oxygenxml.com/2017/02/shari ... rules.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Configure table element to always have frame
Post by ann.jensen »
Hi Radu,
>>>>>Do you want me to give you more details about this? Have you customized the DITA framework configuration until now? Have you added custom actions to it?
Yes, it would be great to get more details to get me started.
I have only customized the DITA framework in order to add my own Schematron rules (I think
)
I don't think I have added any custom actions to it.
Thanks,
Ann
>>>>>Do you want me to give you more details about this? Have you customized the DITA framework configuration until now? Have you added custom actions to it?
Yes, it would be great to get more details to get me started.
I have only customized the DITA framework in order to add my own Schematron rules (I think

I don't think I have added any custom actions to it.
Thanks,
Ann
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Configure table element to always have frame
Hi Ann,
I tried to put together a couple of steps for you:
http://blog.oxygenxml.com/2018/01/compo ... tions.html
As you already have those Schematron rules you could also try to add an extra rule checking for those attributes to be set on all tables.
Regards,
Radu
I tried to put together a couple of steps for you:
http://blog.oxygenxml.com/2018/01/compo ... tions.html
As you already have those Schematron rules you could also try to add an extra rule checking for those attributes to be set on all tables.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Configure table element to always have frame
Post by ann.jensen »
Hi Radu,
That worked a treat
Thanks for your help.
Regards,
Ann
That worked a treat

Thanks for your help.
Regards,
Ann
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service