The scales.utils packages provide the basis functionality for scales.xml.
The scales.utils packages provide the basis functionality for scales.xml.
The Tree an Path collections that underpin the XML model, as well as the iteratee functionality are located in the relevant sub-packages.
The package object itself pulls in the main utility functions for tree, path and iteratee handling. Import the scales.utils.ScalesUtils object implicit members to provide the path & and | extension functions, the iteratorEnumerator and the +:+ lazy appender for scalaz.EphemeralStream.
Scales Xml provides both a more flexible approach to XML handling and a simplified way of interacting with XML.
It fits nicely with the Java APIs you know, TrAX and javax.xml.validation for example, allowing you to run XSLTs and convert to and from Scales XML and other DOMs.
It also provides a far more XPath like experience than the normal Scala XML, Paths look like XPaths and work like them too (with many of the same functions and axes).