Infer schema for a temp-table
- Last Updated: February 17, 2025
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Suppose you have an XML document for a single temp-table, but
you have no XML Schema for it. You can either call the READ-XML( ) method
on a temp-table handle and create a dynamic temp-table object in
ABL; or, you can call the READ-XML( ) method
on a ProDataSet handle and create a dynamic ProDataSet object with
a single temp-table buffer in ABL.
For example, examine this XML document:
|
Using READ-XML( ) on a temp-table object
with this XML document will create a temp-table named ttFam,
with four CHARACTER fields: RelativeName, Relation, IncludedOnBenefits and EmpNum.
Using READ-XML( ) on a ProDataSet object
with this XML will create a ProDataSet named Rows,
with one temp-table buffer, ttFam, with all its buffer-fields.