hcixmlcompile
This command updates the OCM file associated with a DTD/Schema/DTD-containing-XML file that has changed. It analyzes the structure of the DTD/Schema/DTD-containing-XML. It also creates an object model of that structure used to process and map the XML within translation.
Note: The base schema that defines
a message must have at least one global element declaration.
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]
-
-f filename
is the XML file name. This must end in .xsd schema, .dtd, or .xml. -
-p package dir
is the package directory where the XML file has been placed. -
-r root element name
only creates an OCM for this message definition. -
-o output file name
is the name of the output message definition. -
-v on/off
turns on/off outbound message validation. The default is on. -
-d on/off
turns on/off outbound message default value insertion. The default is on. This is independent of validation and namespace checking. -
-n on/off
turns on/off outbound message namespace checking during validation. This applies
only if validation is not off. Validation is
v on
or not specified. The default is on. -
-e on/off
turns outbound message empty node pruning on or off. The default is on. -L on/off
turns on/off using the local namespace as the default namespace.-
-F pretty/none
has the target XML message encoded with newlines between elements and tabbed whitespace to denote nesting level. The default is none. -
-N /target/namespace URI/none
sets the default namespace. If this is not specified, then the default is automatically set by the compiler.- Uses the Default Namespace in XSD File indicates without option. This is the default.
- target indicates the target namespace.
- namespace URI indicates the specified namespace URI.
- none indicates no default namespace.
- When
-N
is not used, auto is the default value. The XML compiler automatically determines the default namespace.Example:
hcixmlcompile current_compile_args
-
-b
adds Unicode BOM to the front of the OCM file. -
-l
lists all of the possible root elements defined in this file. -
-c
recompiles the Schema. -
-s
shows the command line used to compile the Schema. The OCM file name must be given with-o
. -
-h
shows this usage help.