XML-NODE-TYPE attribute
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The XML node type of the temp-table buffer-field or ProDataSet object, which lets you specify how the object is represented in XML and XML Schema.
Data type: CHARACTER
Access: Readable/Writeable
Applies to: Buffer-field object handle, ProDataSet object handle
The following table lists the valid XML node types for a buffer-field object.
| When the XML node type is . . . | The buffer field is . . . |
|---|---|
"ATTRIBUTE"
|
Represented as an attribute of the temp-table element in both the XML Schema and data. |
"ELEMENT"
|
Represented as a child element of the temp-table element in both the XML Schema and data. |
"HIDDEN"
|
Omitted from both the XML Schema and data. |
"TEXT"
|
Represented as a text element in both the XML
Schema and data. Note: Each table can contain only
one "TEXT" field. When a table contains a "TEXT" field,
it cannot contain "ELEMENT" fields; it can contain
only "ATTRIBUTE" fields. A table that contains
a "TEXT" field cannot be part of a nested data-relation. |
The XML node type of a buffer field that represents
an array must be either "ELEMENT" or "HIDDEN".
The following table lists the valid XML node types for a ProDataSet object.
| When the XML node type is . . . | The ProDataSet name is . . . |
|---|---|
"ELEMENT"
|
Represented as the root element in both the XML Schema and data. |
"HIDDEN"
|
Omitted from both the XML Schema and data. |
This attribute's purpose overlaps with the SERIALIZE-HIDDEN attribute. Because of this overlap, the attributes interact as follows:
- The WRITE-XML( ) method always uses the XML-NODE-TYPE attribute value. If you set a value for the XML-NODE-TYPE attribute, it keeps that value regardless of how you set the SERIALIZE-HIDDEN attribute.
- If you do not set the XML-NODE-TYPE attribute and set the SERIALIZE-HIDDEN
attribute to TRUE, the AVM sets XML-NODE-TYPE to
"HIDDEN". - If you do not set the XML-NODE-TYPE attribute and set the SERIALIZE-HIDDEN
attribute to FALSE, the AVM sets XML-NODE-TYPE to "
ELEMENT". - If you do not set either attribute, the AVM sets XML-NODE-TYPE
to
"ELEMENT"and sets SERIALIZE-HIDDEN to FALSE.
This attribute does not apply to database buffer fields.
See also
SERIALIZE-HIDDEN attribute, WRITE-XML( ) method, WRITE-XMLSCHEMA( ) method