5364cef2817cc271080f5d2c06e9094e0aaeda74
[acontent.git] / docs / home / ims / domainProfile_6 / imsdt_v1p0_localised.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--*************************************************************************-->\r
3 <!--** This schema has been modified from the original base schema named - **-->\r
4 <!--** imsdt_v1p0.xsd                                                      **-->\r
5 <!--** using the IMS SchemaProf tool. This tool is based on software from  **-->\r
6 <!--** the TELCERT Project which was funded in part by the European        **-->\r
7 <!--** Commission under contract IST-507128                                **-->\r
8 <!--*************************************************************************-->\r
9 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.imsglobal.org/xsd/imsdt_v1p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.imsglobal.org/xsd/imsdt_v1p0" elementFormDefault="unqualified">\r
10 \r
11   <xs:element name="topic" type="topicType" />\r
12   <xs:complexType name="topicType">\r
13     <xs:sequence>\r
14       <xs:element name="title" type="xs:string" />\r
15       <xs:element name="text">\r
16         <xs:complexType>\r
17           <xs:simpleContent>\r
18             <xs:extension base="xs:string">\r
19               <xs:attribute name="texttype" type="textTypeType" default="text/plain" />\r
20             </xs:extension>\r
21           </xs:simpleContent>\r
22         </xs:complexType>\r
23       </xs:element>\r
24       <xs:element name="attachments" minOccurs="0">\r
25         <xs:complexType>\r
26           <xs:sequence>\r
27             <xs:element name="attachment" minOccurs="1" maxOccurs="unbounded">\r
28               <xs:complexType>\r
29                 <xs:attribute name="href" type="xs:string" use="required" />\r
30               </xs:complexType>\r
31             </xs:element>\r
32           </xs:sequence>\r
33         </xs:complexType>\r
34       </xs:element>\r
35     </xs:sequence>\r
36   </xs:complexType>\r
37   <xs:simpleType name="textTypeType">\r
38     <xs:restriction base="xs:string">\r
39       <xs:enumeration value="text/html" />\r
40       <xs:enumeration value="text/plain" />\r
41     </xs:restriction>\r
42   </xs:simpleType>\r
43 </xs:schema>\r