Message-ID: <785747065.46702.1414743843319.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_46701_1602194514.1414743843318" ------=_Part_46701_1602194514.1414743843318 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