Updates.xsd
上传用户:hbhltzc
上传日期:2022-06-04
资源大小:1925k
文件大小:3k
源码类别:

xml/soap/webservice

开发平台:

Visual C++

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" 
  3.            xmlns:xs="http://www.w3.org/2001/XMLSchema">
  4.   <xs:element name="updates">
  5.     <xs:complexType>
  6.       <xs:sequence>
  7.         <xs:element name="application">
  8.           <xs:complexType>
  9.             <xs:sequence>
  10.               <xs:element name="title" type="xs:string">
  11.                 <xs:annotation>
  12.                   <xs:documentation>The name of the application being updated.</xs:documentation>
  13.                 </xs:annotation>
  14.               </xs:element>
  15.               <xs:element name="location" type="xs:string">
  16.                 <xs:annotation>
  17.                   <xs:documentation>The location of the update xml page.</xs:documentation>
  18.                 </xs:annotation>
  19.               </xs:element>
  20.               <xs:element name="download" type="xs:string">
  21.                 <xs:annotation>
  22.                   <xs:documentation>Location of the download page.</xs:documentation>
  23.                 </xs:annotation>
  24.               </xs:element>
  25.               <xs:element name="frequency" type="xs:string" >
  26.                 <xs:annotation>
  27.                   <xs:documentation>The frequency we need to check for updates to the application, any valid TimeSpan.</xs:documentation>
  28.                 </xs:annotation>
  29.               </xs:element>
  30.             </xs:sequence>
  31.           </xs:complexType>
  32.         </xs:element>
  33.         <xs:element maxOccurs="unbounded" name="version">
  34.           <xs:annotation>
  35.             <xs:documentation>This element describes a new version of the application.</xs:documentation>
  36.           </xs:annotation>
  37.           <xs:complexType>
  38.             <xs:choice minOccurs="0" maxOccurs="unbounded" >
  39.               <xs:element name="feature" type="xs:string">
  40.                 <xs:annotation>
  41.                   <xs:documentation>Description of a new feature added in this version.</xs:documentation>
  42.                 </xs:annotation>
  43.               </xs:element>
  44.               <xs:element name="bug" type="xs:string" >
  45.                 <xs:annotation>
  46.                   <xs:documentation>Description of a bug fixed in this version.</xs:documentation>
  47.                 </xs:annotation>
  48.               </xs:element>
  49.             </xs:choice>
  50.             <xs:attribute name="number" type="xs:string" use="required">
  51.               <xs:annotation>
  52.                 <xs:documentation>The version number.</xs:documentation>
  53.               </xs:annotation>
  54.             </xs:attribute>           
  55.           </xs:complexType>
  56.         </xs:element>
  57.       </xs:sequence>
  58.     </xs:complexType>
  59.   </xs:element>
  60. </xs:schema>