doc_type_dita
doc_type_dita ([doc])
This function determines whether a given document doc is a DITA document. If doc is omitted or set to zero, the current document is used. The function returns one of the following values:
• 0 — The document is not a DITA document.
• 1 — The document is a DITA topic type or a DITA Ditabase.
• 2 — The document is a DITA map type.
Related Topics