DITA Element Reference
This page lists elements in DITA and provides recommendations for equivalent or similar functionality in Mallard, when available. This list includes elements that are specializations of other elements, because sometimes more specific recommendations can be made for specializations than for base elements.
Some specialization domains provide functionality that has no equivalent in Mallard, or for which a single recommendation can be made. The following domains do not have their elements listed explicitly:
bookmap
classify-d
glossentry
hazard-d
indexing-d
map
mapgroup-d
mitask-d
subjectScheme
xnal-d
This page does not list elements used in a DITAVAL file. Conditional processing is not addressed by the core Mallard specification, although extensions may provide this functionality. Additionally, this page does not list any of the highly specialized learning and training elements.
In general, Mallard does not attempt to model data as explicitly as DITA. Mallard allows elements and attributes from external namespaces and allows a style attribute on all elements. These mechanisms are preferred when additional semantic information is needed for tracking or validation.
No equivalent in Mallard. Future versions may address glossaries directly. |
|
No equivalent as a block element. Use block content instead. For link preview text, Mallard provides this separately from the block content using the informational desc element. |
|
Media elements in Mallard (both inline and block) use their contents as fallback content. Fallback content can contain any content that would be valid where the media element occurs. |
|
Specific to DITA conrefs. No equivalent in Mallard. |
|
No specific element in Mallard. Use the inline code element instead. |
|
Mallard does not have image maps. Extensions may provide this functionality. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
Use the common credit element. |
|
See the em element for details. |
|
Mallard does not wrap page contents in a body tag. |
|
Use the div element. |
|
No equivalent in Mallard, as Mallard documents are not mapped to linear books. Extensions may provide this functionality. For credits and other contributor information, see the credit element. For revision and review information, see the revision element. For other metadata, use external-namespace elements in info elements. |
|
No equivalent in Mallard. Include the appropriate text in an element such as code or sys. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
No direct equivalent in Mallard. Use a table inside a step to mark up a table of choices or alternatives. |
|
No direct equivalent in Mallard. Use a basic list inside a step to mark up a list of choices or alternatives. |
|
No equivalent in Mallard. Use the appropriate punctuation, or the em element. |
|
Classification specialization specific to DITA's mechanism of organizing topics using maps; no direct equivalent in Mallard. See Automatic Links for details on automatic linking and organization in Mallard. |
|
No direct equivalent in Mallard. Instructions for a step should use a simple paragraph. |
|
Similar to the cmd element. |
|
Similar to the block code element. |
|
Similar to the inline code element. |
|
Use XInclude. |
|
See the table element for details. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
Mallard does not wrap page contents in a body tag. |
|
Mallard does not contain a generic block container element. External-namespace elements may be used in a block content to group block elements. |
|
No specific element in Mallard. Use a page or section element instead, possibly with a style hint. |
|
No direct equivalent in Mallard. Simply use a paragraph or other block content. |
|
Mallard does not have image maps. Extensions may provide this functionality. |
|
Use the credit element to record copyright information. Use the name element to record the copyright holder. Use the years element to record copyright years. |
|
No direct equivalent in Mallard. The revision element may be used to record this information. |
|
No equivalent in Mallard. Creation or revision dates can be recorded with revision elements or external-namespace elements in an info element. |
|
No equivalent in Mallard. External-namespace elements may provide additional data in info elements. RDF/XML may be used in info elements for structured data. Currently, info elements can only be used on page and section elements. Future versions may allow info elements on some block elements. |
|
See the terms element for details. |
|
Mallard does not provide header information for term lists. Use a table instead if necessary. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
In a fig, table, or linklist element, similar to the block desc element. In a link or xref element, use the informational desc element on the target page or section. In an object element, see the processing expectations for the inline and block media element for details on fallback content. |
|
Mallard does not currently have a mechanism to include multiple pages in a single file. Future versions or extensions may provide this functionality. |
|
Use the terms element with item elements. |
|
Mallard does not provide header information for term lists. Use a table instead if necessary. |
|
Similar to the comment element. |
|
See the terms element for details. |
|
Mallard does not provide header information for term lists. Use a table instead if necessary. |
|
See the table element for details. |
|
Similar to the example element. |
|
Specific to DITA conrefs. No equivalent in Mallard. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
Similar to the figure element. |
|
No direct equivalent in Mallard. The figure element accepts any block content, so you may use standard formal block element inside it, including nested figure elements. |
|
Similar to the file element. |
|
Mallard does not currently have support for footnotes. Future versions may add annotations. |
|
No equivalent in Mallard. External-namespace elements may be embedded in most contexts, with well-defined rules for fallback processing. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
Mallard does not currently have a structured environment for glossaries. Use the terms element instead. Future versions or extensions may address glossaries directly. |
|
Specific to DITA's mechanism of organizing topics using maps; no direct equivalent in Mallard. See Automatic Links for details on automatic linking and organization in Mallard. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
Specializations of notes. Use style hints or other extension mechanisms along with the note element. |
|
See the em element for details. |
|
Mallard does not have image maps. Extensions may provide this functionality. |
|
Mallard does not currently have a structured environment for indexes. |
|
No direct equivalent in Mallard. Additional information for a step should be written in additional paragraphs. |
|
Specific to DITA's specialization mechanisms; no equivalent in Mallard. See External Namespaces for details on extending Mallard. |
|
Use an appropriate inline element, or an external-namespace element if necessary. More specific recommendations can be made for specializations of the keyword element. |
|
Similar to the keywords element. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
See the item element for each list element for details. |
|
Use either the code or the screen element. Mallard does not have a non-semantic preformatted block element. |
|
Different link types are aggregated automatically in Mallard. See the informational link element and the links element for details on automatic links. |
|
See Link Titles for details. |
|
Similar to the quote element. |
|
The media element in Mallard allows block content as children (or inline content for the inline media element). Long descriptions can be provided in fallback content. If you need to separate this into another file, use XInclude. |
|
No equivalent in Mallard. To include content from another file, use XInclude. |
|
Specific to DITA's mechanism of organizing topics using maps; no direct equivalent in Mallard. See Automatic Links for details on automatic linking and organization in Mallard. |
|
Similar to the guiseq element. |
|
Mallard does not provide an additional metadata holder inside the info element. Simply place all metadata directly in the info element, possibly using external-namespace elements. |
|
No direct equivalent in Mallard. Simply use a paragraph, list, or other block content. Style hints or external-namespace attributes can provide additional semantic information and display expectations. |
|
No direct equivalent in Mallard. For output from a running program, the screen element may be appropriate, possibly with an inline output element. |
|
No direct equivalent in Mallard. Use the sys element if necessary. |
|
See Informational Titles for details. |
|
Specific to DITA's specialization mechanisms; no equivalent in Mallard. See External Namespaces for details on extending Mallard. |
|
Similar to the note element. |
|
Media elements in Mallard (both inline and block) can embed standard image, audio, and video data. For non-standard embedded objects, the type attribute can be set to "application". |
|
See the list element for details. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
No specific element in Mallard. Use the cmd or code element instead. |
|
No equivalent in Mallard. Use external-namespace elements to record additional metadata about a page or section. |
|
Similar to the p element. |
|
Media elements in Mallard (both inline and block) can embed standard image, audio, and video data. For non-standard embedded objects, the type attribute can be set to "application". When necessary, additional parameters can be passed with external-namespace attributes. |
|
Mallard does not contain a specific element for parameter lists. Use a term list instead. |
|
No specific element in Mallard. Use the cmd or code element instead. |
|
Mallard does not contain a specific element for parameter lists. Use a term list instead. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
Similar to the span element. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
Mallard does not contain a specific element for parameter lists. Use a term list instead. |
|
No direct equivalent in Mallard. Simply use a paragraph or other block content. |
|
Use either the code or the screen element. Mallard does not have a non-semantic preformatted block element. |
|
No direct equivalent in Mallard. Simply use a paragraph or other block content. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
Similar to the info element. |
|
No semantic equivalent in Mallard. Use a regular table instead. |
|
Mallard does not contain a specific element for parameter lists. Use a term list instead. |
|
Use the common credit element. |
|
No equivalent in Mallard. Use plain text instead. |
|
Mallard does not wrap page contents in a body tag. |
|
Mallard does not contain a generic block container element. External-namespace elements may be used in a block content to group block elements. |
|
No specific element in Mallard. Use a page or section element instead, possibly with a style hint. |
|
No direct equivalent in Mallard. Use a section if necessary. Otherwise, use block content. |
|
Different link types are aggregated automatically in Mallard. See the links element for details on automatic links. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
No equivalent in Mallard. Unhandled migrated material may be left in the original namespace, or it may be wrapped in an external-namespace element. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
No direct equivalent in Mallard. Simply use a paragraph or other block content. |
|
No direct equivalent in Mallard. The revision element may be used to record this information. |
|
See the table element for details. |
|
Similar to the screen element. |
|
See Informational Titles for details. |
|
Similar to the div element with a title. DITA sections are lightweight formal blocks and are not like Mallard section elements. |
|
Use the div element. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
Mallard does not have image maps. Extensions may provide this functionality. |
|
No equivalent in Mallard. |
|
No equivalent as a block element. Use block content instead. For link preview text, Mallard provides this separately from the block content using the informational desc element. |
|
See the table element for details. |
|
No direct equivalent in Mallard, although the tree element will give similar results. |
|
No equivalent in Mallard. External-namespace elements may provide this information in info elements. |
|
No equivalent in Mallard. Include the appropriate text in an element such as code or sys. |
|
See the table element for details. |
|
Use an item element in a step list for a step in a procedure. Mallard does not provide a structured element to mark up step examples or step results. |
|
See the steps element for details. Mallard does not provide a dedicated element for unordered step lists or an informal steps element. |
|
See the table element for details. |
|
No equivalent in Mallard. MathML or other domain-specific languages may be embedded into Mallard documents. |
|
Classification specialization specific to DITA's mechanism of organizing topics using maps; no direct equivalent in Mallard. See Automatic Links for details on automatic linking and organization in Mallard. |
|
Mallard does not provide a structured element to mark up substeps in a step list. Nested lists can be used to mark up substeps. |
|
No equivalent in Mallard. MathML or other domain-specific languages may be embedded into Mallard documents. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
Similar to the output element. |
|
See the table element for details. |
|
No specific element in Mallard. Use a page or section element instead, possibly with a style hint. |
|
Mallard does not wrap page contents in a body tag. |
|
See the table element for details. |
|
No equivalent in Mallard. Future versions may address glossaries directly. |
|
No equivalent in Mallard. Use the span, which is similar to the ph element in DITA. |
|
See the table element for details. |
|
Similar to the title element. |
|
See Informational Titles for details. |
|
No equivalent in Mallard. Simply use the Unicode characters ©, ®, ℠, and ™ instead. |
|
Similar to the page element. When nesting topics, use the section element. |
|
Similar to the sys element. |
|
No direct equivalent in Mallard. Additional instructions for a step should be written in additional paragraphs. |
|
See the em element for details. |
|
Similar to the gui element. |
|
See the list element for details. |
|
See External Namespaces for details on extending Mallard. |
|
Similar to the input element. |
|
Mallard does not have a structured environment for syntax diagrams. Extensions may provide this functionality. |
|
Similar to the var element. |
|
The revision element is placed directly in the info element and records revision information. Additional information about revisions can be recorded with external-namespace elements and attributes. |
|
Mallard provides fewer details in credits and other places where people or organizations are mentioned. External-namespace elements may provide additional information, including xNAL elements and RDF/XML using vocabularies like FOAF. |
|
Similar to the link element. |