The XD file description defines a set of record definitions to receive data in an XML stream. COBOL programs that use XML
must specify ORGANIZATION IS XML.
Format
![XML Syntax - XD file description](HRLHLHXMLS02IMG-low.gif)
Syntax Rules:
- File-name-1 is the filename as declared in the SELECT statement as ORGANIZATION IS XML.
- Record-description-entry is the COBOL record definition that uses XML syntax extensions.
General Rules:
- Do not code an OCCURS DEPENDING ON clause into the XD record of a program that is compiled with the ODOSLIDE directive.