sysmodellibs/sysmodelgen/resources/xsd/Border-shapes.xsd
changeset 6 5b32dc297d05
parent 3 e7e0ae78773e
child 7 3c36c452f013
equal deleted inserted replaced
3:e7e0ae78773e 6:5b32dc297d05
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
       
     3   <xs:element name="values">
       
     4     <xs:complexType>
       
     5       <xs:sequence>
       
     6         <xs:element name="item" maxOccurs="unbounded" minOccurs="0">
       
     7           <xs:complexType>
       
     8             <xs:sequence>
       
     9               <xs:element name="component" maxOccurs="unbounded" minOccurs="0">
       
    10                 <xs:complexType>
       
    11                   <xs:simpleContent>
       
    12                     <xs:extension base="xs:string">
       
    13                       <xs:attribute type="xs:string" name="name" use="required"/>
       
    14                     </xs:extension>
       
    15                   </xs:simpleContent>
       
    16                 </xs:complexType>
       
    17               </xs:element>
       
    18             </xs:sequence>
       
    19             <xs:attribute type="xs:string" name="label" use="optional"/>
       
    20             <xs:attribute name="value" use="required">
       
    21                             <xs:annotation>
       
    22                             	<xs:documentation>The regular expression on the "value" attribute is as follows: 1) one of the special keywords as specified or 2) "#" followed by one or more characters</xs:documentation>
       
    23                             </xs:annotation>
       
    24                             <xs:simpleType>
       
    25             		<xs:restriction base="xs:string">
       
    26             			<xs:pattern
       
    27             				value="box|round|hexagon|box-clipRT|box-clipRB|box-clipLT|box-clipLB|box-clipAll|#.+">
       
    28             			</xs:pattern>
       
    29             		</xs:restriction>
       
    30             	</xs:simpleType>
       
    31             </xs:attribute>
       
    32           </xs:complexType>
       
    33         </xs:element>
       
    34       </xs:sequence>
       
    35       <xs:attribute type="xs:string" name="default" use="optional"/>
       
    36       <xs:attribute type="xs:string" name="label" use="optional"/>
       
    37     </xs:complexType>
       
    38   </xs:element>
       
    39 </xs:schema>