XML Comments

Heretto CCMS enables you to add XML-style comments in the DITA source that show in the Content Editor. You can use XML comments as personal notes, notes for other users that interact with your content, or as tooltips.

XML Comment Example

An example of an XML comment visible in the Content Editor
Note: This functionality may be disabled on your Heretto CCMS instance. For more information, contact your Customer Success Manager.

Add an XML Tooltip Comment

You add an XML comment by modifying the DITA source code.

Note: This functionality may be disabled on your Heretto CCMS instance. For more information, contact your Customer Success Manager.
  1. In the Content Library, double-click a topic.
  2. In the topic toolbar, click the edit source icon.
  3. In the source editor pane, add a comment in the following way <!--TIP: comment -->
    Where comment is the content of your comment.
    <concept id="concept-4201" xml:lang="en-us">
        <title>Concept A</title>
        <shortdesc>This is a short description</shortdesc>
        <conbody>
            <note>
                <p> Note </p><!--TIP: A tooltip comment.-->
            </note>
        </conbody>
    </concept>
  4. Click Save & Close.
An example of a tooltip comment in the Content Editor