Rendering XML Documents in Author Mode

The structure of an XML document and the required restrictions on its elements and their attributes are defined with an XML schema. This makes it easier to edit XML documents in a visual editor. For more information about schema association, see Associating a Schema to XML Documents. The Author mode renders the content of the XML documents visually, based on a CSS stylesheet associated with the document.

Selecting and Combining Multiple CSS Styles

Tip

For information about configuring the Styles drop-down menu, see Selecting and Combining Multiple CSS Styles.

You can select a main CSS stylesheet that styles the whole document and then apply alternate styles, as layers, to specific parts of the document. In the subsequent figure, a DITA document has the Century style selected for the main CSS and the alternate styles Full width, Show table column specification, Hints, and Inline actions are combined for additive styling to specific parts of the document.

Styles Drop-down Menu in a DITA Document

Was this helpful?