The goal of this tutorial is to filter the data in MergedLibrary.xml, which was created in the previous tutorial, in such a way that only a subset of this data is displayed in the output. Specifically, we will only need the books published after 1900. The image below illustrates an abstract model of the data transformation described in this tutorial.
In the diagram above, the data is first merged from two source files (Books.xml and Library.xml) into a single target file called MergedLibrary.xml. Then the data is transformed with a filtering function and passed further to the next component called FilteredLibrary.xml. Note that FilteredLibrary.xml is based on the Library.xsd schema. The intermediate component acts both as a data target and source. In MapForce, this technique is known as chained mappings.
To carry out the mapping, take the steps described in the subsections below.