Changes

XML Interface Toolkit

15 bytes removed, 15:06, 11 February 2014
/* Section: */
* Mapping of a XML elements to an MetaProperty representing either, a foreign key or a Guid value, linking to an another {{UBIK}} object
* The system tries to load the content object of the MetaClass as defined in the class mapping identified by '''TargetType''' with key values similar to the values of the according XML attribute in the data file. If an object can be found, a reference to this object is set on the MetaProperty named similar to the inner text of the XML element in the mapping file.
* For an import process set '''UseHierarchy to =1''' to load a content object corresponding to any parental XML element of the one currently processed.
<source lang="xml">
<Reference>
<sap TargetType=”SAP”"SAP">SAPID</sap> Set a reference of an object SAP with key values sap to MetaProperty SAPID of the current processed object <cad TargetType=”CAD” "CAD" UseHierarchy=”1”"1">CADID</cad> Set a reference of an object CAD, which is a XML parent object, to MetaProperty CADID of the current processed object
</Reference>
</source>
10,686
edits