Direct comment constructors
Direct comment constructors use an XML-like notation to create comment nodes.
Syntax
- DirCommentContents
- A series of characters that specify the contents of the comment. The contents of a comment cannot contain two consecutive hyphens or end with a hyphen.
Example
The following constructor creates a comment
node:
<!-- This is an XML comment. -->