Example of creating an output XML file
- Last Updated: October 17, 2024
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
i-outcus.p
The following sample program creates an XML file consisting
of all fields in all the customer records where the cust‑num is
less than "5". You must use the SAVE( ) method
on the X-DOCUMENT object in order to create the
actual XML file. For example:
|
A partial output of the above program appears below:
|
Note: The previous example adds carriage returns and
indentations for readability; the actual file contains one long
string.