Actually, DocBook has long used this "other" method to extend some
enumerated attribute values.
On section elements:
renderas="other"
otherrenderas="..."
On <orgname>:
class="other"
otherclass="..."
On <biblioid>, <citebiblioid>, <bibliosource>, <bibliorelation>
class="other"
otherclass="..."
On <bibliorelation>:
type="othertype"
othertype="..."
There are others as well.
In the case of admonitions, the original DocBook authors chose to use
separate elements for the different types, instead of a single element
with an enumerated attribute. It is too late now to switch. I
generally suggest adding @role to one of the existing elements, or
extend the schema.
Bob Stayton
Sagehill Enterprises
[email protected]
On 4/28/2016 1:26 PM, Tom Magliery wrote:
For the curious, here's what the DITA 1.3 specification allows for the @type
attribute on <note> (second subsection on this page):
http://docs.oasis-open.org/dita/dita/v1.3/os/part3-all-inclusive/langRef/attributes/thetypeattribute.html
The value "other" allows extensibility in conjunction with another attribute
@othertype:
http://docs.oasis-open.org/dita/dita/v1.3/os/part3-all-inclusive/langRef/base/note.html
mag
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]