NodeFilter
Overview
NodeFilter is a class in Aspose.Html FOSS for Python.
Constants for TreeWalker and NodeIterator filtering.
Properties: FILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP, SHOW_ALL, SHOW_ATTRIBUTE, SHOW_CDATA_SECTION, and 7 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SHOW_ALL | int | Read | Gets the show all. |
SHOW_ELEMENT | int | Read | Gets the show element. |
SHOW_ATTRIBUTE | int | Read | Gets the show attribute. |
SHOW_TEXT | int | Read | Gets the show text. |
SHOW_CDATA_SECTION | int | Read | Gets the show cdata section. |
SHOW_PROCESSING_INSTRUCTION | int | Read | Gets the show processing instruction. |
SHOW_COMMENT | int | Read | Gets the show comment. |
SHOW_DOCUMENT | int | Read | Gets the show document. |
SHOW_DOCUMENT_TYPE | int | Read | Gets the show document type. |
SHOW_DOCUMENT_FRAGMENT | int | Read | Gets the show document fragment. |
FILTER_ACCEPT | int | Read | Gets the filter accept. |
FILTER_REJECT | int | Read | Gets the filter reject. |
FILTER_SKIP | int | Read | Gets the filter skip. |