configurationengine/source/plugins/common/ConeContentPlugin/contentplugin/xsd/contentml2.xsd
changeset 3 e7e0ae78773e
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <xs:schema 
       
     3 	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
       
     4 	targetNamespace="http://www.s60.com/xml/content/2" 
       
     5 	xmlns:content2="http://www.s60.com/xml/content/2" 
       
     6 	elementFormDefault="qualified">
       
     7 
       
     8 	
       
     9 	<xs:complexType name="tagType">
       
    10 		<xs:attribute name="name" type="xs:string"/>
       
    11 		<xs:attribute name="value" type="xs:string"/>
       
    12 	</xs:complexType>
       
    13 	
       
    14 	<xs:complexType name="includeType">
       
    15 		<xs:attribute name="files" type="xs:string"/>
       
    16 		<xs:attribute name="dir" type="xs:string"/>
       
    17 		<xs:attribute name="pattern" type="xs:string"/>
       
    18 	</xs:complexType>
       
    19 
       
    20 	<xs:complexType name="excludeType">
       
    21 		<xs:attribute name="files" type="xs:string"/>
       
    22 		<xs:attribute name="dir" type="xs:string"/>
       
    23 		<xs:attribute name="pattern" type="xs:string"/>
       
    24 	</xs:complexType>
       
    25 	
       
    26 		
       
    27 	<xs:complexType name="inputType">
       
    28 		<xs:choice minOccurs="0" maxOccurs="unbounded">
       
    29 			<xs:element name="include" type="content2:includeType"/>
       
    30 			<xs:element name="exclude" type="content2:excludeType"/>
       
    31 		</xs:choice>
       
    32 		<xs:attribute name="file" type="xs:string"/>
       
    33         <xs:attribute name="dir" type="xs:string"/>
       
    34 	</xs:complexType>
       
    35     
       
    36     <xs:complexType name="externalInputType">
       
    37 		<xs:choice minOccurs="0" maxOccurs="unbounded">
       
    38 			<xs:element name="include" type="content2:includeType"/>
       
    39 			<xs:element name="exclude" type="content2:excludeType"/>
       
    40 		</xs:choice>
       
    41 		<xs:attribute name="file" type="xs:string"/>
       
    42         <xs:attribute name="dir" type="xs:string"/>
       
    43 	</xs:complexType>
       
    44 
       
    45 
       
    46 	<xs:complexType name="outputType">
       
    47         <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    48             <xs:element name="input" type="content2:inputType"/>
       
    49             <xs:element name="externalinput" type="content2:externalInputType"/>
       
    50         </xs:choice>
       
    51 		<xs:attribute name="file" type="xs:string"/>
       
    52 		<xs:attribute name="dir" type="xs:string"/>
       
    53 		<xs:attribute name="flatten" type="xs:string"/>
       
    54 	</xs:complexType>
       
    55 	
       
    56 	
       
    57 	<xs:complexType name="contentRootType">
       
    58         <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    59 			<xs:element name="tag" type="content2:tagType"/>
       
    60             <xs:element name="output" type="content2:outputType"/>
       
    61 			<xs:element name="desc" type="xs:string"/>
       
    62         </xs:choice>
       
    63         <xs:attribute name="phase" type="xs:string"/>
       
    64     </xs:complexType>
       
    65 	
       
    66 	<xs:element name="content" type="content2:contentRootType"/>
       
    67 		
       
    68 </xs:schema>