XsdSpecIn
Use this element of the ServiceProperties.xml document to specify the generation options for the XML schema that corresponds to the input language structure.
Contained by
XseSpecContains
NoneAttributes
Table 1 shows the attributes for XsdSpecIn.
Fields | Description |
---|---|
Attribute: fileName
Valid values: See Description Required?: No Default value: See Description |
Specifies the name of the output file. The default value is: Data source file name concatenated with "I" |
Attribute: localNamespace
Valid values: See Description Required?: No Default value: See Description |
Specifies the local namespace. Note: Request namespaces have no effect on the code
generated in the request converter.
The default value is: http://www.w3.org/2001/XMLSchema |
Attribute: overwrite
Valid values: true | false Required?: No Default value: true |
Specifies whether to overwrite the output file if it exists. |
Attribute: targetNamespace
Valid values: See Description Required?: No Default value: See Description |
Specifies the target namespace. The default value is: For a data source file name foo: http://www.fooI.com/schemas/fooIInterface |
Attribute: whiteSpace
Valid values: collapse | replace | preserve | compat Required?: No Default value: collapse |
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. The value of this attribute is ignored when XML converters
are being generated for the "Map and Existing Service Interface" scenario
since the setting in the mapped XML Schema must be assumed. 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
Valid values: See Description Required?: No Default value: See Description |
Specifies the global element name for the schema. The default value is: Value of the nativeTypeName attribute in the message specification. |
Attribute: xsdNamespace
Valid values: See Description Required?: No Default value: See Description |
Specifies the xsd namespace. The default value is: Value of the nativeTypeName attribute in the message specification. |
Attribute: xsdPrefix
Valid values: See Description Required?: No Default value: cbl |
Specifies the xsd namespace prefix. |
Example
<XsdSpecIn fileName="DFH0CSTDI.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"/>