Business Process and Data Transformation Language Reference
Provide a descriptive comment for a DTL element.
<![CDATA[ Sends patient data from lab to CRM system. ]]>
The <annotation> element allows you to associate a descriptive comment with a DTL element. An <annotation> must appear as the first child of the element that it is annotating. For example:
<![CDATA[Implement current naming conventions.]]>
<trace value='"Convert from lowercase to uppercase"'/>
<annotation>This is a comment for the assign element</annotation>
The previous example uses CDATA syntax around the annotation text. This convention is optional, but it lets you use line breaks and special characters such as the apostrophe (') without worrying about XML escape sequences. The maximum length of the <annotation> string is 32,767 characters, including the CDATA escape characters.
Also notice that the annotation for the assign element appears as a child immediately following the opening assign tag.
Most elements within DTL support <annotation>
as a child element. This allows you to associate a descriptive comment with a DTL element. Unlike BPL, which offers positional attributes for every element, <annotation> is the only
child element or attribute that most DTL elements have in common. If you use the <annotation> element, it must appear as the first child of the element that it is annotating.