Following is the schema code for the Windows sidebar gadget’s manifest.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SidebarGadget"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="gadget" type="Tgadget"/>
<xs:complexType name="Tgadget">
<xs:sequence maxOccurs="1">
<xs:element name="name" type="xs:string"/>
<xs:element name="namespace" type="xs:string"/>
<xs:element name="version" type="xs:string"/>
<xs:element name="author" type="Tauthor"/>
<xs:element name="copyright" type="xs:string"/>
<xs:element name="description" type="xs:string"/>
<xs:element name="icons" type="Ticons" maxOccurs="unbounded"/>
<xs:element name="hosts" type="Thosts"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Tauthor">
<xs:sequence>
<xs:element name="info" type="Turl"/>
<xs:element name="logo" type="Tlogo"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
</xs:complexType>
<xs:complexType name="Turl">
<xs:attribute name="url" type="xs:string"/>
</xs:complexType>
<xs:complexType name="Tlogo">
<xs:attribute name="src" type="xs:string"/>
</xs:complexType>
<xs:complexType name="Ticons">
<xs:sequence>
<xs:element name="icon" type="Ticon"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Ticon">
<xs:attribute name="hight" type="xs:nonNegativeInteger"/>
<xs:attribute name="width" type="xs:nonNegativeInteger"/>
<xs:attribute name="src" type="xs:string"/>
</xs:complexType>
<xs:complexType name="Thosts">
<xs:sequence>
<xs:element name="host" type ="Thost"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Thost">
<xs:sequence>
<xs:element name="base" type="Tbase"/>
<xs:element name="permission" type="xs:string"/>
<xs:element name="platform" type="Tplatform"/>
<xs:element name="autoscaleDPI" type="xs:boolean" nillable="true"/>
<xs:element name="defaultImage" type="TdefaultImage"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" default="sidebar"/>
</xs:complexType>
<xs:complexType name="Tbase">
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="apiVersion" type="xs:string"/>
<xs:attribute name="src" type="xs:string"/>
</xs:complexType>
<xs:complexType name="Tplatform">
<xs:attribute name="minPlatformVersion" type="xs:double"/>
</xs:complexType>
<xs:complexType name="TdefaultImage">
<xs:attribute name="src" type="xs:short"/>
</xs:complexType>
</xs:schema>
</xs:schema>
I hope this could be useful to someone who need it and don't have time to make one.
Comments or suggestion are welcome...
1 comment:
Queen Casino & Slots Review - Slots & Casino Games
Queen クイーンカジノ Casino is the sister site of Betsoft Gaming. If you bet365 are a lover of slots, leovegas we recommend checking out the slot
Post a Comment