XML-NODE-TYPE and SERIALIZE-HIDDEN
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
XML-NODE-TYPE and SERIALIZE-HIDDEN
The XML-NODE-TYPE attribute's
purpose overlaps with the SERIALIZE-HIDDEN attribute.
Because of this overlap, the attributes interact as follows:
- The
WRITE-XML( )method always uses theXML-NODE-TYPEattribute value. If you set a value for theXML-NODE-TYPEattribute, it keeps that value regardless of how you set theSERIALIZE-HIDDENattribute. - If you do not set the
XML-NODE-TYPEattribute and set theSERIALIZE-HIDDENattribute to TRUE, the AVM setsXML-NODE-TYPEto"HIDDEN". - If you do not set the
XML-NODE-TYPEattribute and set theSERIALIZE-HIDDENattribute to FALSE, the AVM setsXML-NODE-TYPEto"ELEMENT". - If you do not set either attribute, the AVM sets
XML-NODE-TYPEto"ELEMENT"and setsSERIALIZE-HIDDENto FALSE.