The DOMComment interface

The DOMComment interface represents the content of an XML or SGML comment (all characters between the starting `<!--' and the ending `-->'). This interface inherits the DOMCharacterData interface; it has no other properties or methods.

A DOMComment object has no child nodes; to obtain the text of the comment, use the data property.


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999