Capture MDD Examples
Example MDD file.
<?xml version="1.0" encoding="UTF-8"?>
<tt:MDDef id="exampleMDD" version="1.0"
xmlns:tt="http://www.tracetracker.com/mdd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.tracetracker.com/mdd http://schema.tracetracker.com/ttMDD_0_9.xsd">
<Label>
<Text xml:lang="en">Example MDD</Text>
</Label>
<Description>
<Text xml:lang="en">This is an example MDD</Text>
</Description>
<Vocabulary id="productVocabularyId">
<VocabularyElement id="urn:esp:*">
<!-- Attributes required by all VocabularyEmelents
in the esporing namespace -->
<attribute id="name" format="CHAR255"/>
<attribute id="description" format="CHAR255"/>
</VocabularyElement>
<VocabularyElement id="urn:esp:meat:*">
<!-- Attributes required by all VocabularyEmelents
belonging to the meat industry in the
esporing namespace -->
<attribute id="weight" format="REAL" unit="gram"/>
<attribute id="meatCode" format="CHAR255"/>
</VocabularyElement>
</Vocabulary>
<Vocabulary id="businessLocationVocabularyId">
<VocabularyElement id="urn:esp:*">
<!-- Attributes required by all VocabularyEmelents
in the esporing namespace -->
<attribute id="name" format="CHAR255"/>
<attribute id="description" format="CHAR255"/>
<attribute id="address" format="CHAR255"/>
<attribute id="geolocation" format="CHAR255"/>
<children>1</children>
<!-- Use: [X|X+|X-]
X: The VocabularyElement must have exactly X children
X+: The VocabularyElement can have any number of children, at least X
X-: The VocabularyElement can have at most X children. -->
</VocabularyElement>
</Vocabulary>
</tt:MDDef>