ODL2XML -- Unsupported

ODL2XML is a tool that converts an ODL file into an XML file that conforms to the ECS DTD defined in Bulk_Metadata_Export_V11.1.doc, which is distributed with the package. This document is located under Docs directory. An ODL file can contain multiple groups, and this tool can convert all groups or selected groups. Bulk_Metadata_Export_V11.1.doc provides the DTD of generated XML files.

This tool requires Java Runtime Environment. Since this tool is distributed as byte-code, users do not need to build; users can execute odl2xml_cmd.jar in the package.

This tool takes several command-line arguments. Two basic arguments are -in and -out which specify the input ODL file and the output XML file, respectively. Optionally, users can specify which groups are converted. By default, only collection data group is converted.

For example, the following command converts DsESDTAiAIRABCTB_001_desc.odl into DsESDTAiAIRABCTB_001_desc.xml.

Figure 1 Converting an ODL file
$ java -jar odl2xml_cmd -in DsESDTAiAIRABCTB_001_desc.odl -out DsESDTAiAIRABCTB_001_desc.xml
For more information, refer to README.txt in the package.


Last modified: 06/02/2017
About Us | Contact Info | Archive Info | Disclaimer
Sponsored by Subcontract number 4400528183 under Raytheon Contract number NNG15HZ39C, funded by NASA / Maintained by The HDF Group