[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  <xsd:schema targetNamespace="http://www.wpkg.org/profiles"
   3      elementFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   4      xmlns="http://www.wpkg.org/profiles" xmlns:wpkg="http://www.wpkg.org/wpkg">
   5  
   6      <xsd:import namespace="http://www.wpkg.org/wpkg" schemaLocation="wpkg.xsd">
   7          <xsd:annotation>
   8              <xsd:documentation>Include WPKG master definition.</xsd:documentation>
   9          </xsd:annotation>
  10      </xsd:import>
  11  
  12      <xsd:element name="profiles" type="profiles">
  13          <xsd:annotation>
  14              <xsd:documentation>Root element for profile definitions.
  15              </xsd:documentation>
  16          </xsd:annotation>
  17      </xsd:element>
  18  
  19      <xsd:complexType name="profiles">
  20          <xsd:sequence maxOccurs="unbounded" minOccurs="1">
  21              <xsd:element name="profile" type="profile"></xsd:element>
  22          </xsd:sequence>
  23      </xsd:complexType>
  24  
  25      <xsd:complexType name="profile">
  26          <xsd:annotation>
  27              <xsd:documentation></xsd:documentation>
  28          </xsd:annotation>
  29          <xsd:choice minOccurs="0" maxOccurs="unbounded">
  30              <xsd:element name="depends" type="depends"></xsd:element>
  31              <xsd:element name="variable" type="wpkg:variable"></xsd:element>
  32              <xsd:element name="package" type="packageReference"></xsd:element>
  33          </xsd:choice>
  34          <xsd:attribute name="id" type="xsd:string" use="required">
  35              <xsd:annotation>
  36                  <xsd:documentation>
  37  Name of the profile (as referenced within hosts.xml).
  38                  </xsd:documentation>
  39              </xsd:annotation>
  40          </xsd:attribute>
  41      </xsd:complexType>
  42  
  43      <xsd:complexType name="packageReference">
  44          <xsd:complexContent>
  45              <xsd:extension base="wpkg:packageReference">
  46                  <xsd:attribute name="installdate" type="xsd:dateTime"
  47                      use="optional">
  48                      <xsd:annotation>
  49                          <xsd:documentation>
  50  Date from which the package should be installed (this date or later). Date has to
  51  be specified in ISO 8601 format (see http://www.w3.org/TR/NOTE-datetime).
  52                          </xsd:documentation>
  53                      </xsd:annotation>
  54                  </xsd:attribute>
  55                  <xsd:attribute name="uninstalldate" type="xsd:dateTime"
  56                      use="optional">
  57                      <xsd:annotation>
  58                          <xsd:documentation>
  59  Date from which the package should be removed (this date or later). Date has to be
  60  specified in ISO 8601 format (seehttp://www.w3.org/TR/NOTE-datetime).
  61                          </xsd:documentation>
  62                      </xsd:annotation>
  63                  </xsd:attribute>
  64              </xsd:extension>
  65          </xsd:complexContent>
  66      </xsd:complexType>
  67  
  68      <xsd:complexType name="depends">
  69          <xsd:sequence minOccurs="0" maxOccurs="1">
  70              <xsd:element name="condition" type="wpkg:condition"></xsd:element>
  71          </xsd:sequence>
  72          <xsd:attribute name="profile-id" type="xsd:string"
  73              use="required">
  74              <xsd:annotation>
  75                  <xsd:documentation>
  76  ID of the profile which this profile depends on (in
  77  fact it works similar to an include - all packages
  78  from the referenced profile are installed too).
  79                  </xsd:documentation>
  80              </xsd:annotation>
  81          </xsd:attribute>
  82          <xsd:attributeGroup ref="wpkg:HostMatch"></xsd:attributeGroup>
  83      </xsd:complexType>
  84  </xsd:schema>


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