1
0
mirror of synced 2024-11-16 20:13:50 +00:00
x2xmldatabinding/XSD/DataBindingSettings.xsd
Mark van Renswoude 6764684c9e Added: namespace to hints and settings XML files
Added: "Generate blank Hints file" option
Added: proper support for xs:dateTime/xs:time types
Changed: moved conversion and utility functions out of the generated source code to the external XMLDataBindingHelpers unit
2008-04-24 14:37:05 +00:00

49 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.x2software.net/xsd/databinding/DataBindingSettings.xsd" xmlns:tns="http://www.x2software.net/xsd/databinding/DataBindingSettings.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="DataBindingSettings">
<xs:annotation>
<xs:documentation>Contains the settings and hints for the Delphi XML Data Binding.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Output" type="tns:DataBindingOutput" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="DataBindingOutput">
<xs:annotation>
<xs:documentation>Contains the user-defined output settings last used</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="OutputType" type="tns:DataBindingOutputType"/>
<xs:choice>
<xs:element name="OutputSingle">
<xs:complexType>
<xs:sequence>
<xs:element name="FileName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OutputMultiple">
<xs:complexType>
<xs:sequence>
<xs:element name="Path" type="xs:string"/>
<xs:element name="Prefix" type="xs:string"/>
<xs:element name="Postfix" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="DataBindingOutputType">
<xs:annotation>
<xs:documentation>Determines the output type</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Single"/>
<xs:enumeration value="Multiple"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>