| 
Constants for whatToShow. 
 
SHOW_ALL:Show allDOMNode(s). 
SHOW_ELEMENT:ShowDOMElementnodes. 
SHOW_ATTRIBUTE:ShowDOMAttrnodes. This is meaningful only when creating anDOMNodeIteratororDOMTreeWalkerwith an attribute node as itsroot; in this case, it means that the attribute node will appear in the first position of the iteration or traversal. Since attributes are never children of other nodes, they do not appear when traversing over the document tree. 
SHOW_TEXT:ShowDOMTextnodes. 
SHOW_CDATA_SECTION:ShowDOMCDATASectionnodes. 
SHOW_ENTITY_REFERENCE:ShowDOMEntityReferencenodes. 
SHOW_ENTITY:ShowDOMEntitynodes. This is meaningful only when creating anDOMNodeIteratororDOMTreeWalkerwith anDOMEntitynode as itsroot; in this case, it means that theDOMEntitynode will appear in the first position of the traversal. Since entities are not part of the document tree, they do not appear when traversing over the document tree. 
SHOW_PROCESSING_INSTRUCTION:ShowDOMProcessingInstructionnodes. 
SHOW_COMMENT:ShowDOMCommentnodes. 
SHOW_DOCUMENT:ShowDOMDocumentnodes. 
SHOW_DOCUMENT_TYPE:ShowDOMDocumentTypenodes. 
SHOW_DOCUMENT_FRAGMENT:ShowDOMDocumentFragmentnodes. 
SHOW_NOTATION:ShowDOMNotationnodes. This is meaningful only when creating anDOMNodeIteratororDOMTreeWalkerwith aDOMNotationnode as itsroot; in this case, it means that theDOMNotationnode will appear in the first position of the traversal. Since notations are not part of the document tree, they do not appear when traversing over the document tree. 
 Since:DOM Level 2 
 Enumeration values: 
| SHOW_ALL |  |  | SHOW_ELEMENT |  |  | SHOW_ATTRIBUTE |  |  | SHOW_TEXT |  |  | SHOW_CDATA_SECTION |  |  | SHOW_ENTITY_REFERENCE |  |  | SHOW_ENTITY |  |  | SHOW_PROCESSING_INSTRUCTION |  |  | SHOW_COMMENT |  |  | SHOW_DOCUMENT |  |  | SHOW_DOCUMENT_TYPE |  |  | SHOW_DOCUMENT_FRAGMENT |  |  | SHOW_NOTATION |  | 
 |