Mapping Between Property Sets and XML
An arbitrary property set hierarchy can be serialized to XML and an XML document can be converted to a property set hierarchy using the XML Converter business service. This service is used by the Business Service Simulator screen to save property set inputs and outputs to a file from eScript.
Each part of a property set object has a corresponding XML construct. The following table shows the mappings between parts of a property set hierarchy and their XML representation.
| Property Set Component | XML Representation | 
|---|---|
| PropertySet | Element | 
| PropertySet Type | Element name (if Type is not specified, then the element name is set to PropertySet) | 
| PropertySet Value | Element Character Data | 
| Property name | Attribute name | 
| Property value | Attribute value | 
| Child Property Set | Child element |