Set default attribute value by constraint module
Posted: Thu Feb 11, 2016 2:49 pm
Hi,
probably I miss something quite trivial: I'd like to set an attribute to #REQUIRED by constraint module. I want <chapter> elements to always use @keyref. But the following constraint module does not resolve the %chapter-atts; entity and I'd like to avoid to resolve it manually in the constraint module, because this would also mean I'd have to manually add @props extensions to the constraint module.
Where is my mistake? How should I do that?
Thank you very much
probably I miss something quite trivial: I'd like to set an attribute to #REQUIRED by constraint module. I want <chapter> elements to always use @keyref. But the following constraint module does not resolve the %chapter-atts; entity and I'd like to avoid to resolve it manually in the constraint module, because this would also mean I'd have to manually add @props extensions to the constraint module.
Code: Select all
<!ENTITY chapter-constraints "(myBookmap chapter-c)">
<!ENTITY % chapter.attributes
"%chapter-atts;
keyref
CDATA
#REQUIRED">
Thank you very much