?? widgetgallery.xsd
字號:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2001-2008 Hippo (www.onehippo.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="document">
<xs:complexType>
<xs:sequence>
<!-- textfield -->
<xs:element name="title" type="xs:string" minOccurs="1"/>
<!-- datefield -->
<xs:element name="doomsday" type="xs:date"/>
<!-- date-time field -->
<xs:element name="countdown" type="xs:date"/>
<!-- checkbox -->
<xs:element name="tobeornottobe" type="xs:boolean"/>
<!-- checkboxgroup -->
<xs:element name="chubbychecker" maxOccurs="unbounded" type="myListType"/>
<!-- dropdown -->
<xs:element name="dropdeadfred" type="myListType"/>
<!-- htmlfield (rich text) -->
<xs:element name="worlddominationplan" type="xs:string"/>
<!-- plain textarea -->
<xs:element name="plaintext" type="xs:string"/>
<!-- picturepreview -->
<xs:element name="mugshot" type="xs:string"/>
<!-- radiogroup -->
<xs:element name="radiogaga" type="myListType"/>
<!-- selectgroup -->
<xs:element name="multiculti" maxOccurs="unbounded" type="myListType"/>
<!-- shootboxgroup -->
<xs:element name="shooter" maxOccurs="unbounded" type="myListType"/>
<!-- urlpreview -->
<xs:element name="url" type="xs:string"/>
<!-- repeater -->
<xs:element name="tags">
<xs:complexType>
<xs:sequence>
<xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- documentlistpreview -->
<xs:element name="list" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- list type used for checkboxgroup, dropdown -->
<xs:simpleType name="myListType">
<xs:restriction base="xs:string">
<xs:enumeration id="hippo" value="Hippo"/>
<xs:enumeration id="rhino" value="Rhino"/>
<xs:enumeration id="elephant" value="Elephant"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -