Please enable JavaScript to view this site.

Altova MapForce 2022 Professional Edition

Now we need to add and configure the second target file (FilteredLibrary.xml), which will contain only a subset of <book> elements from MergedLibrary.xml.

 

Add the second target component

To add the second target component, click the toolbar button ic-new-schema (Insert XML Schema/File) and open Library.xsd. Click Skip when prompted to supply a sample instance file. The second target component has only structure but no content. At a later stage, we will map the filtered data to this target file. The mapping design now looks as follows:

mf_tut3_configsecondtarget1_zoom70

 

Configure the second target component

As shown above, the mapping now has two source components (Books and Library) and two target components (MergedLibrary and Library). To avoid confusion, we will rename the newly added component FilteredLibrary. To do this, double-click the header of the right-most component and edit the component settings as follows:

mf_tut3_configsecondtarget2_zoom70

 

© 2015-2021 Altova GmbH