Configuring detection key and document type names

Both the transformation and schema validation configurations contain the detection key and document type name. These are fetched from the "targets.xml" file, which is included among the MEC configuration files. You must therefore edit this file in order for the configurations in the two other files to be valid. The file contains several <target> tags, each of which has a <name> child tag and an <xpath> child tag.

In the example below, all XML documents having the root element <idealXML version= "2.0"> will be given the detection key "ECOM:version" and the document type name will become the value of the version attribute.

<target>
	<name>ECOM:version</name>
	<xpath>\idealXML@version</xpath>
</target>