Please enable JavaScript to view this site.

Altova MapForce 2022 Professional Edition

The next step is to add a target component and define its settings. To add the target file called Library.xsd to the mapping, click ic-new-schema (Insert XML Schema/File). Click Skip when MapForce suggests supplying an instance file. At this stage, the mapping design looks as follows:

MF_Tut1_AddTarget1

Note that when you open Library.xsd, it is displayed as an XML file in the component. In fact, MapForce only creates a reference to the XML file called Library.xml, but this XML file itself does not yet exist. Thus, out target component has a schema but no content.

 

Component settings

Now we need to rename the target component BooksOutput.xml. This will allow us to avoid confusion in the next tutorials, as we are going to use a separate file called Library.xml, which has its own content and is based on the same Library.xsd schema. In order to rename the target file, double-click the header of the target component. This opens the Component Settings dialog box (see screenshot below), in which we need to change the name of the target file as follows:

mf_tut1_addtarget2_zoom70

The mapping design now looks as follows:

MF_Tut1_AddTarget3

Note:The name of the header only refers to the name of the component and not the name of the schema this file is based on. To see the name of the schema, open the Component Settings dialog box.

 

© 2015-2021 Altova GmbH