Message-ID: <1281423536.82496.1397635328457.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_82495_381102338.1397635328456" ------=_Part_82495_381102338.1397635328456 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This tutorial illustrates how Smooks (in conjunction with FreeMa= rker) can be used to perform an XML to XML transformation on a huge mes= sage (GBs).=20
It should be noted however that this tutorial can be used as the basis f= or an character based transformation e.g. EDI to XML, CSV to XML, XML to ED= I etc. It's just a mater of defining the stream parser for the Source (e.g.= the CSV Parser), and modifying the templates for the output.=20
To Build= : "mvn clean install"
To Run: "mvn exec:java"
FreeMarker is an extremely powerful templating engine. One really us= eful feature is the ability to create and use a NodeModel = as the domain model in a templating operation. Smooks adds the ability to p= erform fragment based templating transforms, as well as the ability to use = this model on huge messages (GBs).=20
So the basic structure is the same. We just need to rearrange things a l= ittle.=20