Table 1 shows the attributes for XsdSpec.
| Fields | Description |
|---|---|
Attribute: fileName |
Specifies the name of the output file. The default value is: Data source file name concatenated with "X" |
Attribute: localNamespace |
Specifies the local namespace. Note: Request
namespaces have no effect on the code generated in the converter.
The default value is: http://www.w3.org/2001/XMLSchema |
Attribute: overwrite |
Specifies whether to overwrite the output file if it exists. |
Attribute: targetNamespace |
Specifies the target namespace. The default value is: For a data source file name foo: http://www.fooI.com/schemas/fooIInterface |
Attribute: whitespace |
The value of this attribute directs the Batch
processor to generate XML Schemas and XML converter programs that
support the three standard whitespace processing options in XML Schema:
"preserve", "replace", and "collapse". Every element in the generated
XML Schema is assigned the value of this attribute for its whiteSpace
option. To direct the Batch processor to generate XML Schemas and XML converter programs that are compatible with releases prior to version 7.5, specify the value "compat". |
Attribute: xsdElemName |
Specifies the global element name for the schema. The default value is: Value of the nativeTypeName attribute in the message specification. |
Attribute: xsdNamespace |
Specifies the xsd namespace. The default value is: Value of the nativeTypeName attribute in the message specification. |
Attribute: xsdPrefix |
Specifies the xsd namespace prefix. |
<XsdSpec fileName="sample.xsd" overwrite="true"
targetNamespace="http://www.DFH0CSTDI.com/schemas/DFH0CSTDIInterface"
xsdNamespace="http://www.w3.org/2001/XMLSchema"
localNamespace="http://www.DFH0CSTDI.com/schemas/DFH0CSTDIInterface"
xsdPrefix="cbl"
xsdElemName="dfhcommarea"/>