selectSubtreeEvents method
From a sequence of XmlEvent objects filter the event sequences that
form sub-trees for which predicate
returns true
.
Implementation
Stream<List<XmlEvent>> selectSubtreeEvents(
Predicate<XmlStartElementEvent> predicate) =>
transform(XmlSubtreeSelector(predicate));