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

NameTypeAccessDescription
SHOW_ALLintReadGets the show all.
SHOW_ELEMENTintReadGets the show element.
SHOW_ATTRIBUTEintReadGets the show attribute.
SHOW_TEXTintReadGets the show text.
SHOW_CDATA_SECTIONintReadGets the show cdata section.
SHOW_PROCESSING_INSTRUCTIONintReadGets the show processing instruction.
SHOW_COMMENTintReadGets the show comment.
SHOW_DOCUMENTintReadGets the show document.
SHOW_DOCUMENT_TYPEintReadGets the show document type.
SHOW_DOCUMENT_FRAGMENTintReadGets the show document fragment.
FILTER_ACCEPTintReadGets the filter accept.
FILTER_REJECTintReadGets the filter reject.
FILTER_SKIPintReadGets the filter skip.

See Also