Restriction of DITA domain
Posted: Thu Mar 05, 2015 5:24 pm
Hi,
DITA 1.2 specification says in section 2.1.4.4 "For example, a constraint on the Programming Domain could reduce the list of included extension elements to <codeph> and <codeblock>."
This is exactly what I want, but I do not understand how to do it!
Do I need to include the Programming Domain in my shell DTD, and then add a restriction module?
I understand how to restrict, for example, the pr-d-ph entity, but how do I undeclare the elements that I do not want to include in my DTD, such as synph or apiname ?
Thanks in advance for your help,
Pascale
DITA 1.2 specification says in section 2.1.4.4 "For example, a constraint on the Programming Domain could reduce the list of included extension elements to <codeph> and <codeblock>."
This is exactly what I want, but I do not understand how to do it!
Do I need to include the Programming Domain in my shell DTD, and then add a restriction module?
I understand how to restrict, for example, the pr-d-ph entity, but how do I undeclare the elements that I do not want to include in my DTD, such as synph or apiname ?
Thanks in advance for your help,
Pascale