Try OpenEdge Now
skip to main content
Working with XML
Reading and Writing XML Data from Temp-Tables and ProDataSets : Methods and attributes : Attribute interactions : XML-NODE-NAME and SERIALIZE-NAME
 
XML-NODE-NAME and SERIALIZE-NAME
The XML-NODE-NAME attribute's purpose overlaps with the SERIALIZE-NAME attribute. Because of this overlap, the attributes interact as follows:
*The READ-XML( ) and WRITE-XML( ) methods always use the XML-NODE-NAME attribute value. If you set a value for the XML-NODE-NAME attribute, it keeps that value regardless of how you set the SERIALIZE-NAME attribute.
*If you do not set the XML-NODE-NAME attribute and set the SERIALIZE-NAME attribute, the AVM sets XML-NODE-NAME equal to SERIALIZE-NAME.
*If you do not set either attribute, the AVM sets both to the ABL object name.