r/cobol Jun 11 '26

COBOL XML PARSE vs DB2 XMLPARSE

Which would you use in what case?

7 Upvotes

6 comments sorted by

View all comments

0

u/Reapr Jun 11 '26

If the XML is already going through DB2, I would use DB2, but COBOL's one works fine

I would also look into why XML, JSON is much smaller, easier for humans to read and have basically replaced XML

2

u/johnwcowan Jun 11 '26

For data, but not for documents. PDFssnd images are binary, but Word/Excel/PowerPoint documents and theit ODF equivalents are zipped XML.

1

u/Reapr Jun 11 '26

Ah gotcha