Skip to content

Module: xml

whereElement

Back to Index
[XmlNode] |> (elementName: text) => [[XmlNode]]

Performs a deep filter of the input XmlNode iterator to find elements of the specified name. The return value is an iterator of sub-trees (in the form of buffered XmlNode iterators) that can be used to read data from each matched element.

Note that the XmlNode iterators returned are buffered, which means that they can be read multiple times. This makes it easy to perform multiple searches within the subtree.

Availability

Discount Rule Reactor

Examples

Refer to readXml for full examples.

Back to Index