c:comment

<c:comment
  value? = expression >
  <!-- Content: sequence-constructor -->
</c:comment>

Creates a comment node.

Category
instruction
Permitted parent elements
Any XCST element whose content model is sequence-constructor
Any literal result element

Attributes

value The comment.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Example
<c:comment expand-text='yes'>Generated at {DateTime.Now}</c:comment>

Error Conditions

It is a compilation error if the value attribute is present when the content of the element is non-empty.