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.