commsfwtools/preparedefaultcommsdatabase/Tools/cfg2xml/com/symbian/commdb/93schema/Contents.xsd
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!-- 
       
     3     Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4     All rights reserved.
       
     5     This component and the accompanying materials are made available
       
     6     under the terms of "Eclipse Public License v1.0"
       
     7     which accompanies this distribution, and is available
       
     8     at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 
       
    10     Initial Contributors:
       
    11     Nokia Corporation - initial contribution.
       
    12     
       
    13     Description:
       
    14         Contents.xsd
       
    15         XML Schema with the definitions of the
       
    16         Contents file for CommDB
       
    17 -->
       
    18 <xsd:schema elementFormDefault="qualified" targetNamespace="SymbianOS.Generic.Comms-Infras.CommDB"
       
    19       xmlns="SymbianOS.Generic.Comms-Infras.CommDB" xmlns:xlink="http://www.w3.org/1999/xlink" 
       
    20       xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       
    21       <!--
       
    22           Include Symbian Primitive elements
       
    23       -->
       
    24       <xsd:include schemaLocation="PrimitiveTypes.xsd"/>
       
    25       <xsd:import namespace="http://www.w3.org/1999/xlink" schemaLocation="XLinkAttributes.xsd"/>
       
    26       <!-- 
       
    27           Definition of the Contents elements
       
    28       -->
       
    29       <xsd:element name="Contents">
       
    30             <xsd:complexType>
       
    31                   <xsd:sequence>
       
    32                         <xsd:element maxOccurs="1" minOccurs="1" ref="commdb"/>
       
    33                         <xsd:element maxOccurs="unbounded" minOccurs="1" ref="table"/>
       
    34                   </xsd:sequence>
       
    35             </xsd:complexType>
       
    36       </xsd:element>
       
    37       <!--
       
    38           Definition of the table element
       
    39       -->
       
    40       <xsd:element name="table">
       
    41             <xsd:complexType>
       
    42                   <xsd:attribute name="file"  type="Text" use="required"/>
       
    43                   <xsd:attribute name="name"  type="Text" use="required"/>
       
    44                   <xsd:attribute name="entry" type="Text" use="required"/>
       
    45                   <xsd:attribute name="enum"  type="Text" use="required"/>
       
    46             </xsd:complexType>
       
    47       </xsd:element>
       
    48       <!--
       
    49           Definition of the commdb element
       
    50       -->
       
    51       <xsd:element name="commdb">
       
    52             <xsd:complexType>
       
    53                   <xsd:attribute name="type"  type="Text" use="required"/>
       
    54             </xsd:complexType>
       
    55       </xsd:element>
       
    56 </xsd:schema>
       
    57