36 lines
2.0 KiB
XML
36 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<xs:schema id="LookupConfig" targetNamespace="http://www.wellan.com.tw/LookupConfig.xsd" elementFormDefault="qualified" xmlns="http://www.wellan.com.tw/LookupConfig.xsd" xmlns:mstns="http://www.wellan.com.tw/LookupConfig.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop">
|
|
<xs:complexType name="Lookup">
|
|
<xs:sequence>
|
|
</xs:sequence>
|
|
<xs:attribute name="name" type="xs:string" use="required" />
|
|
<xs:attribute name="sql" type="xs:string" use="required" />
|
|
<xs:attribute name="keyFields" type="xs:string" use="required" />
|
|
<xs:attribute name="listFields" type="xs:string" use="required" />
|
|
<xs:attribute name="outputFields" type="xs:string" use="required" />
|
|
<xs:attribute name="listTitles" type="xs:string" use="required" />
|
|
<xs:attribute name="listTitleMids" type="xs:string" use="required" />
|
|
<xs:attribute name="listWidths" type="xs:string" use="required" />
|
|
<xs:attribute name="maxRecord" type="xs:int" use="required" />
|
|
<xs:attribute name="notShowOnlyOneRecord" type="xs:boolean" use="optional" />
|
|
</xs:complexType>
|
|
<xs:element name="LookupConfig">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Appearence" maxOccurs="1" minOccurs="0" type="Appearence" />
|
|
<xs:element name="Lookup" type="Lookup" maxOccurs="unbounded" minOccurs="0" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:complexType name="Appearence">
|
|
<xs:sequence>
|
|
</xs:sequence>
|
|
<xs:attribute name="titleBackgroundColor" type="xs:string" />
|
|
<xs:attribute name="dataBackgroundColor" type="xs:string" />
|
|
<xs:attribute name="dataTextColor" type="xs:string" />
|
|
<xs:attribute name="dataAltBackgroundColor" type="xs:string" />
|
|
<xs:attribute name="titleTextColor" type="xs:string" />
|
|
<xs:attribute name="titleTextSize" type="xs:string" />
|
|
<xs:attribute name="dataTextSize" type="xs:string" />
|
|
</xs:complexType>
|
|
</xs:schema> |