oid_effective_dita_default_attrs
oid_effective_dita_default_attrs(oid, array[])
For DITA documents, this function populates an array with all of the effective default attributes at the specified oid. The effective attributes include document type specified default values, processor default values, and inherited values. This function does not return explicitly set attribute values. If the given array is not empty, only those attributes with names that match keys in the array will be populated. Otherwise, all attributes with default values are populated.
For example, assume you have the following markup in a DITA map:
<topicgroup format="ditamap">
<topicref format="dita" href="myTopic.dita"/>
</topicgroup>
Calling this function for the topicref element would return ditamap for the format attribute. It would not return dita, because that is an explicitly set value instead of the default value.
Related Topics