NOTE: Be sure to go through the java-basic example before reviewing any of the others. All examples follow the same basic pattern.
NOTE: In the case of each tutorial, you can work out the jar dependencies by running "mvn dependency:resolve".
A very basic example that illustrates how Smooks can be used to apply a Java based transform on a message fragment. |
|||
A very basic example that illustrates how Smooks can be used to apply an XSLT based transform on a message fragment. |
|||
An illustration of how Smooks can be used to combine Groovy scripting with XSLT to perform an Order message transform, simplifying the XSLT and maintaining its portability across XSLT Processors. |
|||
A basic example that illustrates how Smooks can be used to apply an XSLT based transformation on a message fragment that contains namespaces. |
|||
An illustration of how Smooks can be used to extract data from an XML message, and use the data to populate an Object graph. It also shows how this Object graph is then accessible outside Smooks via the ExecutionContext. |
|||
Basic "Model Driven Transformation" using the Smooks Javabean and Templating Cartridges. The templating is done using FreeMarker. |
|||
An example of how to configure Smooks to process a non-XML stream (CSV). |
|||
An example of how to configure Smooks to process a non-XML stream (EDI). |
|||
An example of how to configure Smooks to process a non-XML stream (EDI) and bind the data from that stream into Java Business Objects (Javabeans). |
|||
A simple example of how Smooks can be used to "profile" a set of messages, and so share transformation/analysis configurations across a message set. |
|||
|
This example illustrates how to use the Smooks CSS Cartridge to analyze the CSS components of a HTML document. |