Author mode customization
Posted: Sat Apr 30, 2022 5:43 pm
New to Oxygen customization.
The background:
One of my user is using conref to tgroup element to generate table that is composed of lot of reusable row information.
They explicitly describe that they want to reuse "sequences of row elements". But OASIS CALS table model does not offer the convenient element that expresses "sequences of row elements". For instance a tbody is composed of row elements. But tbody must exists as one child of tgroup element. If we author multiple tbody elements in tgroup, it will be reported as grammar error. The another way is to use @conref and @conrefend attributes to specify "sequences of row elements". However it will be time-consuming for authors because this way needs to author two attributes in using reusable contents.
As a result I've realized that using RAW OASIS table model is not always appropriate to author reusable contents & user specific information types.
What I want to do:
To resolve above problem, I will make DITA specialization to express the user information type. The most important feature of this specialization is to offer the convenient "container element" that store row information. For instance:
In this example, regrowgroup acts to express "sequences of row" information. This authoring will be eligible than adopting OASIS CALS table model.
The Challenges:
In above example regtable element is expected to be authored as tgroup in CALS table model. Also regrow element is expected to be authored as row element in CALS table model. The reg1, reg2 elements are expected to be authored as entry element in CALS table model.
What is the Oxygen customizing information URL to realize above authoring requirement? This is my newbie question.
The background:
One of my user is using conref to tgroup element to generate table that is composed of lot of reusable row information.
They explicitly describe that they want to reuse "sequences of row elements". But OASIS CALS table model does not offer the convenient element that expresses "sequences of row elements". For instance a tbody is composed of row elements. But tbody must exists as one child of tgroup element. If we author multiple tbody elements in tgroup, it will be reported as grammar error. The another way is to use @conref and @conrefend attributes to specify "sequences of row elements". However it will be time-consuming for authors because this way needs to author two attributes in using reusable contents.
As a result I've realized that using RAW OASIS table model is not always appropriate to author reusable contents & user specific information types.
What I want to do:
To resolve above problem, I will make DITA specialization to express the user information type. The most important feature of this specialization is to offer the convenient "container element" that store row information. For instance:
Code: Select all
<regtable>
<regrowgroup id="reginfo1">
<regrow>
<reg1>...</reg1>
<reg2>...</reg2>
</regrow>
<regrow>
<reg1>...</reg1>
<reg2>...</reg2>
</regrow>
...
</regrowgroup>
<regrowgroup id="reginfo2">
<regrow>
<reg1>...</reg1>
<reg2>...</reg2>
</regrow>
<regrow>
<reg1>...</reg1>
<reg2>...</reg2>
</regrow>
...
</regrowgroup>
</regtable>
The Challenges:
In above example regtable element is expected to be authored as tgroup in CALS table model. Also regrow element is expected to be authored as row element in CALS table model. The reg1, reg2 elements are expected to be authored as entry element in CALS table model.
What is the Oxygen customizing information URL to realize above authoring requirement? This is my newbie question.