XML schema with parent table fields after nested child tables
- Last Updated: February 17, 2025
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following example demonstrates the functionality provided to create a DATASET definition from an XML schema where the parent fields of a temp-table are defined after the nested child temp-tables:
|
In the above schema:
- The root element,
ClientInfo, maps to a temp-table with a two fields,LanguageandEmail. These fields are in the sequence after the nested child definitions. -
ClientInfohas two nested child temp-table definitionsIndividual, with four fields:LastName,FirstName,BirthDate, andGender.Organization, with three fields:OrgName,FedBNandProvBN.
The following is the static ProDataSet definition for the XML schema:
|
The READ-XML() and READ-XMLSCHEMA() methods
create the dynamic equivalent of this static definition.