March 2005
Intermediate to advanced
1254 pages
104h 21m
English
Comment
A Comment
node represents a comment in an XML
document. The content of the comment (i.e. the text between
<!-- and -->) is
available with the getData( ) method inherited
from CharacterData, or through the
getNodeValue( ) method inherited from
Node. This content may be manipulated using the
various methods inherited from CharacterData
Figure 21-4. org.w3c.dom.Comment
public interface Comment extends CharacterData {
}
Document.createComment( )