whatToShow property
Gets which node types are presented through the iterator. Nodes that are not accepted are skipped, but their children are still considered.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
The type of accepted nodes.p is a bitwise OR of the following values:
-
Show all nodes.
-
Show Element nodes.
-
Show Attribute nodes.
-
Show Text nodes.
-
Show CDATASection nodes.
-
Show EntityReference nodes.
-
Show Entity nodes.
-
Show ProcessingInstruction nodes.
-
Show Comment nodes.
-
Show Document nodes.
-
Show DocumentType nodes.
-
Show DocumentFragment nodes.
-
Show Notation nodes.
Standards information
Remarks
Filtering is based both on the whatToShow flags and the filter function.
See also
Show:

