Newbie questions re: DITA-based frameworks
Posted: Fri Feb 03, 2017 5:44 am
Hello-
I have created a specialization of the <choicetable> element for which I need to write an authoring framework. Here is an example fragment:
<settingtable>
<setrow>
<setname/><setvalue/>
<setrow>
</settingtable>
What I would like to do is:
1. Add "dummy" text to the empty cells (the same way that 'cmd' appears in empty commands and 'title' appears in empty titles).
2. Allow users to just click the usual "Add row below" button in the toolbar to add more <setrow> elements that contain valid row markup. Right now, when I click the button, the new <setrow> contains only a <setname/> element -- I need <setname/> and <setvalue/>.
I assume that I need to edit CSS and create a new action for these two tasks. I appreciate any help. Thanks.
I have created a specialization of the <choicetable> element for which I need to write an authoring framework. Here is an example fragment:
<settingtable>
<setrow>
<setname/><setvalue/>
<setrow>
</settingtable>
What I would like to do is:
1. Add "dummy" text to the empty cells (the same way that 'cmd' appears in empty commands and 'title' appears in empty titles).
2. Allow users to just click the usual "Add row below" button in the toolbar to add more <setrow> elements that contain valid row markup. Right now, when I click the button, the new <setrow> contains only a <setname/> element -- I need <setname/> and <setvalue/>.
I assume that I need to edit CSS and create a new action for these two tasks. I appreciate any help. Thanks.