Arbortext Command Language > Callbacks > doc_add_callback > conref_content Callback Type
  
conref_content Callback Type
Function prototype:
function funcname (window, oid, reference)
conref_content is called to resolve a content reference by a conref or a resolved conkeyref attribute during generated text processing.
Arguments
window is the identifier of the window containing the document whose conref or conkeyref content is being resolved.
oid is the object identifier (OID) of the element with the conref or conkeyref attribute value to be resolved.
reference is the name of the attribute that is being resolved. Allowed values are conref and conkeyref. The default is conref.
The function must return the content to be inserted as an XML markup string, for example, returning the result from calling oid_content on an element in the referenced document. If it returns a null string, the default processing is done. Note that an empty string is also valid content to return. To return an empty string as content, return the value *ATI_EMPTY_STRING*.
* 
The conref-content callback type is used only for DITA document types.