摘要 |
Embodiments of the present invention address deficiencies of the art in respect to XML processing in a COBOL environment and provide a method, system and apparatus for processing a COBOL syntax to allow native XML parsing. In a method of the invention, COBOL source code can be processed and an XML processing directive can be detected in the COBOL source code. In any case, a file path can be extracted from the XML processing directive in the processed COBOL source code. Subsequently, object code can be produced that is configured to process XML data in an XML document stored at a location specified by the file path. Specifically, the object can be configured to parse XML data in an XML document stored at a location specified by the file path, or to generate XML data in an XML document stored at a location specified by the file path.
|