[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-wpkg/sources/wpkg/xsd/ -> config.xsd (source)

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  <xsd:schema targetNamespace="http://www.wpkg.org/config" elementFormDefault="qualified"
   3      xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.wpkg.org/config">
   4  
   5      <xsd:complexType name="config">
   6          <xsd:sequence minOccurs="1" maxOccurs="1">
   7              <xsd:sequence minOccurs="0" maxOccurs="1">
   8                  <xsd:element name="languages" type="languages"></xsd:element>
   9              </xsd:sequence>
  10              <xsd:choice minOccurs="0" maxOccurs="unbounded">
  11                  <xsd:element name="param" type="xsd:string"></xsd:element>
  12              </xsd:choice>
  13          </xsd:sequence>
  14      </xsd:complexType>
  15  
  16      <xsd:complexType name="param">
  17          <xsd:annotation>
  18              <xsd:documentation>Configuration parameter entry. Defines a configuration parameter of WPKG.</xsd:documentation>
  19          </xsd:annotation>
  20          <xsd:sequence></xsd:sequence>
  21          <xsd:attribute name="name" type="xsd:string" use="required">
  22              <xsd:annotation>
  23                  <xsd:documentation>Name of the configuration parameter.</xsd:documentation>
  24              </xsd:annotation>
  25          </xsd:attribute>
  26          <xsd:attribute name="value" type="xsd:string" use="required">
  27              <xsd:annotation>
  28                  <xsd:documentation>Value to be assigned to the configuration parameter.</xsd:documentation>
  29              </xsd:annotation>
  30          </xsd:attribute>
  31      </xsd:complexType>
  32  
  33      <xsd:complexType name="languages">
  34          <xsd:annotation>
  35              <xsd:documentation>Holds language definitions such as language-specific strings.</xsd:documentation>
  36          </xsd:annotation>
  37          <xsd:choice minOccurs="0" maxOccurs="unbounded">
  38              <xsd:element name="language" type="language"></xsd:element>
  39          </xsd:choice>
  40      </xsd:complexType>
  41  
  42      <xsd:complexType name="language">
  43          <xsd:annotation>
  44              <xsd:documentation>Language holds a concrete language specification defining message strings.</xsd:documentation>
  45          </xsd:annotation>
  46          <xsd:choice minOccurs="0" maxOccurs="unbounded">
  47              <xsd:element name="string" type="string"></xsd:element>
  48          </xsd:choice>
  49          <xsd:attribute name="lcid">
  50              <xsd:annotation>
  51                  <xsd:documentation>
  52                      Comma-separated list of LCID values for which this language specification is valid. For example
  53                      specify "409,809" to match English locale. For a complete list of LCIDs see
  54                      http://www.microsoft.com/globaldev/reference/lcid-all.mspx.
  55                  </xsd:documentation>
  56              </xsd:annotation>
  57              <xsd:simpleType>
  58                  <xsd:restriction base="xsd:string">
  59                      <xsd:pattern value="[\w]+(,[\w]+)*"></xsd:pattern>
  60                  </xsd:restriction>
  61              </xsd:simpleType>
  62          </xsd:attribute>
  63      </xsd:complexType>
  64  
  65      <xsd:complexType name="string" mixed="true">
  66          <xsd:annotation>
  67              <xsd:documentation>Localized string definition.</xsd:documentation>
  68          </xsd:annotation>
  69          <xsd:attribute name="id">
  70              <xsd:annotation>
  71                  <xsd:documentation>
  72                      Identifier for language string. Identifies the string you are going to localize.
  73                  </xsd:documentation>
  74              </xsd:annotation>
  75              <xsd:simpleType>
  76                  <xsd:restriction base="xsd:string">
  77                      <xsd:enumeration value="notifyUserStart"></xsd:enumeration>
  78                      <xsd:enumeration value="notifyUserStop"></xsd:enumeration>
  79                      <xsd:enumeration value="notifyUserFail"></xsd:enumeration>
  80                      <xsd:enumeration value="notifyUserReboot"></xsd:enumeration>
  81                  </xsd:restriction>
  82              </xsd:simpleType>
  83          </xsd:attribute>
  84      </xsd:complexType>
  85  
  86      <xsd:element name="config" type="config">
  87          <xsd:annotation>
  88              <xsd:documentation>Root element of WPKG configuration.</xsd:documentation>
  89          </xsd:annotation></xsd:element>
  90  </xsd:schema>


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1