Specifying the name of the output OCM file

The OCM file can have any name.

When running hcixmlcompile, there is an -o option for specifying the name of the output OCM file.

hcixmlcompile -f filename -p package dir [-r root element name] [-o 
output file name] [-v on/off] [-d on/off] [-n on/off] 
[-e on/off] [-L on/off] [-F pretty/none] [-N /target/namespace URI/none] 
[-b] [-l] [-c] [-s] [-h] 

When using this command:

  • -r root element name only creates an OCM for this message definition.
  • -o output file name is the name of the output message definition.

If the -o option is not used, then the OCM file is named after the root element name. If a name is specified, then the file is named as specified with the .ocm extension, if the specified name does not already include it.