Comment nodes
A comment node encapsulates XML comments.
A comment node can have zero or one parent.
A comment node
has the following node properties:
- content
- parent
For example, consider the following content:
<ID>
<!-- This element contains an ID number. -->
101
</ID> This comment has the following property values:
| Node property | Value |
|---|---|
| content | This element contains an ID number. |
| parent | ID node |
This element
contains an ID number. The typed value is the same value
as the string value and is also type xs:string.