(Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.
called after nextState.next, allows filtering to prepare for the next event
called after nextState.next, allows filtering to prepare for the next event
Iterates over paths using the document order it skips over EndElemS events when going forward and StartElem when reversing, returning just the path. Developers should call preceding or following before entering this iterator.