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.
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 |
<X> <A val=value of element/> </X> |
XMLElementAttrVal | Member XML Name = A |
<X> <Field id='A' val='value of element'/> </X> |
XMLElementAttrIDVal | Member XML Name = Field |