PreviousNextIndex

XML-NODE-TYPE attribute

The XML node type of the buffer-field object, which lets you specify how a buffer field is represented in XML and XML Schema. Valid XML node types are "ATTRIBUTE", "ELEMENT", "HIDDEN", and "TEXT".

Data type: CHARACTER

Access: Readable/Writeable

Applies to: Buffer-field object handle

Table 110 lists the valid XML node types.

Table 110: XML node types 
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".

This attribute’s purpose overlaps with the SERIALIZE-HIDDEN attribute. Because of this overlap, the attributes interact as follows:

See also: SERIALIZE-HIDDEN attribute, WRITE-XML( ) method, WRITE-XMLSCHEMA( ) method


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex