Does Enterprise COBOL process XML documents?

Can Enterprise COBOL encode (as well as decode) XML documents? That is, can I take a COBOL data structure and convert it to XML for it to be returned to a calling program? If not, is there a projected date for this feature?

    Requires Free Membership to View

It sure can! To create an XML document from a COBOL data structure, use
XML GENERATE document FROM datastructure
You can also process input XML in COBOL using XML PARSE. It is all described in the COBOL Language Reference Manual and COBOL Programming Guide. I did a SHARE presentation on XML; you can see the slides of it at the bottom of this page.

This was first published in March 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.