XmlSubtreeSelectorExtension extension

on

Methods

selectSubtreeEvents(Predicate<XmlStartElementEvent> predicate) Stream<List<XmlEvent>>

Available on Stream<List<XmlEvent>>, provided by the XmlSubtreeSelectorExtension extension

From a sequence of XmlEvent objects filter the event sequences that form sub-trees for which predicate returns true.