This is an example that illustrates how Smooks can be used to perform fragment based transforms using Groovy.
In this example, we perform a DOM based manipulation of a Shopping list message. SAX-based scripting is also supported.
See:
- The "Main" class in src/main/java/example/Main.java.
- The input message in input-message.xml.
- smooks-config.xml.
mvn clean package
mvn exec:exec