Try OpenEdge Now
skip to main content
Working with XML
Reading and Writing XML Data from Temp-Tables and ProDataSets : Writing XML from a temp-table, temp-table buffers, or a ProDataSet : Minimizing XML document size
 

Minimizing XML document size

When using XML documents to handle large amounts of data, it is always worthwhile to design your schema to minimize the size of XML documents. Smaller XML documents reduce memory, network bandwidth, and disk usage. The resulting resource savings can be significant in a large XML application.
There are two features of ABL XML support that can further reduce the size of XML documents:
*For ProDataSets with nested data relations, you can choose to omit the duplicate entries of foreign key fields that appear in each child record nested within a parent record.
*For any ProDataSet or temp-table, you can choose to omit fields from the XML whose current value is the same as the initial value of that field.