The element “targets”

The <targets> element contains information on the targets of the transformation, of which there may be more than one.  This element has no <parameters>, being instead merely the top-level element under which are nested individual <Target> and <TargetXmlSchema> definitions.  See here for a full discussion of all ShapeChange target formats and their specific configuration options.

For each target listed in the configuration, the processing of the target can be switched off by setting the “mode” attribute to “disabled”. The default value is “enabled”.

A sample <targets> section of a configuration file, containing multiple defined targets for the same application schema, might look like the following:

<targets>
    <TargetXmlSchema class="de.interactive_instruments.ShapeChange.Target.XmlSchema.XmlSchema" mode="enabled">
           …contents snipped…
    </TargetXmlSchema>
    <Target class="de.interactive_instruments.ShapeChange.Target.Ontology.RDF" mode="enabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
        <targetParameter name="language" value="en" />
        <targetParameter name="taggedValueForTitle" value="name" />
        <targetParameter name="taggedValueForCode" value="nsgAlphaCode" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.FeatureCatalogue.FeatureCatalogue" mode="disabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.KML.XSLT" mode="enabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.Codelists.CodelistDictionaries" mode="disabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.Mapping.Excel" mode="disabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
</targets>