XML Message rendering options

There are four properties on the XML layer that you can use to affect how the XML messages are rendered. The table below shows examples of the values that you can set for the Member Render property. In this table, the member element is referred to as A, and has the value value of element. The parent is referred to as X.

The effect of rendering options on XML output

To get XML rendered like this: Set this Member Render property value: Set these other property values:
<X>
<A>value of element</A>
</X>
XMLElement (the default)

Member XML Name = A

<X A='value of element'/> 
XMLAttribute

Member XML Name = A

<X>
<Field id='A'>value of element</Field>
</X>
XMLElementAttrID

Member XML Name = Field
Member ID Attribute Name = id
Member ID Attribute Value = A

<X>
<A val=value of element/>
</X>
XMLElementAttrVal

Member XML Name = A
Member Value Attribute Name = val

<X>
<Field id='A' val='value of element'/>
</X>
XMLElementAttrIDVal

Member XML Name = Field
Member ID Attribute Name = id
Member ID Attribute Value = A
Member Value Attribute Name = val

Related concepts
Physical formats in the MRM domain
XML wire format
Related tasks
Working with physical properties
Configuring physical properties
Related reference
Message model object properties
Physical properties for message model objects
Custom Wire Format physical properties for message model objects
Tagged/delimited string format physical properties for message model objects
Documentation properties for all message set objects
Message model object properties by object