configurationengine/source/plugins/symbian/ConeProjectConverterPlugin/projectconvertplugin/xsd/convertprojectml.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/convertprojectml/1" 
       
     5     xmlns:cpml="http://www.s60.com/xml/convertprojectml/1" 
       
     6     elementFormDefault="qualified">
       
     7     
       
     8     
       
     9     <xs:complexType name="metaType">
       
    10         <xs:sequence>
       
    11             <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
       
    12         </xs:sequence>
       
    13     </xs:complexType>
       
    14     
       
    15     <xs:complexType name="filterType">
       
    16         <xs:attribute name="action" type="xs:string" use="required"/>
       
    17         <xs:attribute name="data" type="xs:string" use="required"/>
       
    18         <xs:attribute name="remove_includes" type="xs:string"/>
       
    19         <xs:attribute name="recursive" type="xs:string"/>
       
    20     </xs:complexType>
       
    21     
       
    22     <xs:complexType name="fileType">
       
    23         <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    24             <xs:element name="filter" type="cpml:filterType"/>
       
    25             <xs:element name="meta" type="cpml:metaType"/>
       
    26             <xs:element name="desc" type="xs:string"/>
       
    27         </xs:choice>
       
    28         <xs:attribute name="type" type="xs:string"/>
       
    29         <xs:attribute name="path" type="xs:string"/>
       
    30     </xs:complexType>
       
    31     
       
    32     <xs:complexType name="folderType">
       
    33         <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    34             <xs:element name="filter" type="cpml:filterType"/>
       
    35         </xs:choice>
       
    36         <xs:attribute name="path" type="xs:string"/>
       
    37     </xs:complexType>
       
    38     
       
    39     <xs:complexType name="layerType">
       
    40         <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    41             <xs:element name="folder" type="cpml:folderType"/>
       
    42             <xs:element name="file" type="cpml:fileType"/>
       
    43         </xs:choice>
       
    44         <xs:attribute name="path" type="xs:string"/>
       
    45     </xs:complexType>
       
    46     
       
    47     <xs:complexType name="foreachType">
       
    48         <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    49             <xs:element name="layer" type="cpml:layerType"/>
       
    50         </xs:choice>
       
    51         <xs:attribute name="variable" type="xs:string" use="required"/>
       
    52         <xs:attribute name="data" type="xs:string" use="required"/>
       
    53     </xs:complexType>
       
    54     
       
    55     <xs:complexType name="targetProjectType">
       
    56         <xs:attribute name="path" type="xs:string"/>
       
    57     </xs:complexType>
       
    58     
       
    59     <xs:element name="convertprojectml">
       
    60         <xs:complexType>
       
    61             <xs:sequence>
       
    62                 <xs:element name="targetProject" type="cpml:targetProjectType" minOccurs="0" maxOccurs="1"/>
       
    63                 <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    64                     <xs:element name="layer" type="cpml:layerType"/>
       
    65                     <xs:element name="foreach" type="cpml:foreachType"/>
       
    66                 </xs:choice>
       
    67             </xs:sequence>
       
    68         </xs:complexType>
       
    69     </xs:element>
       
    70     
       
    71 </xs:schema>