JavaScript Editor Javascript debugger     Website design 


DomNode->node_value

Returns value of a node ()
string DomNode->node_value ( )

Returns value of the node. The value has different meanings for the different types of nodes as illustrated in the following table.

Table 79. Meaning of value

TypeMeaning
DomAttributevalue of attribute
DomAttribute 
DomCDataSectioncontent
DomCommentcontent of comment
DomDocumentnull
DomDocumentTypenull
DomElementnull
DomEntitynull
DomEntityReferencenull
DomNotationnull
DomProcessingInstructionentire content without target
DomTextcontent of text