Provides an optimised version of withIter(onDone(List(onQNames(path))))(enumXml(xml, _)) with default QName equality it unwraps the data providing an Iterator[XPath]
Wraps XmlPull using default QName equality
Provides an optimised version of withIter(onDone(List(onQNames(path))))(enumXml(xml, _)) with an implicit parameter for QName equality it unwraps the data providing an Iterator[XPath]
Wraps XmlPull with an implicit parameter for QName equality
Collects all data belonging to an element that matches the list.
Collects all data belonging to an element that matches the list. <top><middle><ofInterest> content </ofInterest><ofInterest.... onQNames(List("top"l, "middle"l, "ofInterest"l)) would return an iteratee that returned every <ofInterest> content </ofInterest> as a path (each parent node containing only one child node).
Uses the default QName equality
Collects all data belonging to an element that matches the list.
Collects all data belonging to an element that matches the list. <top><middle><ofInterest> content </ofInterest><ofInterest.... onQNames(List("top"l, "middle"l, "ofInterest"l)) would return an iteratee that returned every <ofInterest> content </ofInterest> as a path (each parent node containing only one child node).
Uses an implicit QName equality
Skips all events until the indexes match downTo, can be seen as \*\*[b]\*[c] skipping until c with skip(List(b,c)).
Skips all events until the indexes match downTo, can be seen as \*\*[b]\*[c] skipping until c with skip(List(b,c)). This can be used, for example, to identify qnames within a message and combined with capture to allow replaying. Identifying a soap doc-lit request would be skip(List(2,1)). It returns the XmlPath to the skipped position, for soap /Envelope/Body/Request but does not collect the contents of that node. An empty list will simply return the first Element found.
Iteratees related to pull parsing