YXml

Classes

YXmlElement

YXmlFragment

YXmlTreeWalker

Type Definitions

CSS_Selector

Define the elements to which a set of CSS queries apply. CSS_Selectors

Example
query = '.classSelector'
  query = 'nodeSelector'
  query = '#idSelector'

domFilter(nodeName, attributes) → {boolean}

Dom filter function.

Parameters:
Name Type Description
nodeName string

The nodeName of the element

attributes Map

The map of attributes.

Returns:
boolean -

Whether to include the Dom node in the YXmlElement.