COBOL

COBOL

COBOL

COBOL is responsible for the efficient, reliable, secure, and unseen day-to-day operations of the world's economy.

 View Only
Expand all | Collapse all

GENERATE XML with empty element tag

  • 1.  GENERATE XML with empty element tag

    Posted Mon October 07, 2019 08:25 PM

    It doesn't appear that Enterprise COBOL supports generating "empty-element tags".  Is this true?  By this I mean "<el1 />" vs "<el1></el1>".

    fswarbrick


  • 2.  Re: GENERATE XML with empty element tag

    Posted Wed October 16, 2019 10:26 AM

    Yes, it's true. You can SUPPRESS the <el1></el1> form WHEN the relevant item is SPACES, for example, but you can't elect to have the <e1/> form in that case.

    brataj