returns the attributes of a given element
Same as fromXmlPathToXPath, an eager evaluation of xpath queries
returns the Elem at this path
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Use lazyRaw to convert without forcing sorting or checking for duplicates, and to evaluate lazily.
Warning, don't use this version of raw unless your XPath usage costs more than the navigation, its based on Stream and terribly slow (huge memory and stack usage etc).
NOTEs Laziness with flatten is achieved by using iterator.toIterable before the flatten (uses Stream internally). Its only useful as a lazy evaluator if viewed was used.
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Use raw to convert without forcing sorting or checking for duplicates.
NOTE Any laziness aquired by viewed will also be lost by the flatten
Lazy evaluation of XPaths
Lazy evaluation of XPaths
View called on nested Lists, but not on xlmPath.