bproxsdto4gl utility
- Last Updated: June 6, 2019
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
bproxsdto4gl utility
The bproxsdto4gl tool is a command
line utility that extracts the definition of a table or data set
from an XML Schema file (.xsd file) and converts
it to a static ABL temp-table or static ProDataSet definition. By
default, the definition is saved as an ABL include file (.i file).
|
- -h
- Displays a help message on the use of this utility.
- xml-schema-filename
- The name of the XML Schema file containing the schema to convert into an ABL definition. xml-schema-filename can contain absolute or relative path information.
- -output { output-directory | filename }
- Overrides the default behavior for the generated ABL include
file. If not specified, the utility names the output file after
the source
.xsdfile (xsd-filename.i)and saves the file to the current directory. To use the default name, but specify a different directory, supply an absolute or relative path. To change the name of the file, specify it and include any necessary absolute or relative path information. - -element element-name
- The top-level element declaration (the element's name) from the XML Schema file that identifies the table or data set that will be the source of the conversion to an ABL temp-table or ProDataSet definition.
- -overridemapping
- Overrides the default data type mapping between XML Schema string
and binary types when generating ABL field definitions from XML Schema.
The XML Schema string data type maps to a
CHARACTERfield by default, and the XML Schemabase64BinaryandhexBinarydata types map to aRAWfield by default. If you specifyoverridemapping, XML Schema string will map to aCLOBfield, and XML Schemabase64BinaryorhexBinarywill map to aBLOBfield. - -fieldtypemapping { field-mapping-file | field-mapping-string }
- A string containing a comma-separated list of fieldname and data type pairs, or a file that contains the comma-separated list. This option allows you to specify the ABL data type for a specific field from the XML Schema. See XML Schema and ABL Data Type Mappings for more information on the default data type mapping between XML Schema and ABL.
- -noint64
- Use this option if you want to use the
xsd:longto ABLDECIMALmapping. Otherwise,xsd:longmaps toINT64.