A lightweight, simple and functional library DSL to work with XML in Scala using native scala xml library and cats core.
advxml to advxml-core |
---|
Supported Scala 2.12 and 2.13
Maven for 2.12
<dependency>
<groupId>com.github.geirolz</groupId>
<artifactId>advxml-core_2.12</artifactId>
<version>version</version>
</dependency>
Maven for 2.13
<dependency>
<groupId>com.github.geirolz</groupId>
<artifactId>advxml-core_2.13</artifactId>
<version>version</version>
</dependency>
Sbt
libraryDependencies += "com.github.geirolz" %% "advxml-core" % <version>
The idea behind this library is offer a fluent syntax to edit and read xml.
Features:
- data/Value Data types for value, keys and attributes.
- data/Convert Allow instances conversion (not automatically yet)
- transform/Transform Allows to edit the XML document.
- transform/Zoom Allows to traverse an XML do get nodes, attributes and text.
- transform/Normalize Allows normalizing xml docs, removing white spaces and collapse empty nodes