CB2XML (CopyBook to XML) is a COBOL
copybook to XML converter written in Java and
based on the SableCC parser generator. It
includes utilities to convert an XML instance
file into its COBOL copybook equivalent string
buffer and vice versa.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.
The parser grammar has been reworked based on the actual COBOL grammar, and the XML schema generated has been improved and optimized. One of the new features is that COBOL comments within the copybook are retained in the XML output.
A bug that caused problems with OCCURS syntax was
fixed. The core copybook to XML translation routines are
now stable and can convert Cobol copybooks to XML. This
opens up a lot of possibilities, such as generating a
searchable database out of an entire set of enterprise
copybooks, which would be extremely useful for
mainframe migration and integration projects.