Changeset 2073
- Timestamp:
- 08/09/12 15:06:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/xslt/comp2schema-v2/comp2schema-header.xsl
r1301 r2073 11 11 <xsl:template name="PrintHeaderType"> 12 12 <xs:simpleType name="Resourcetype_simple"> 13 <xs:restriction base="xs:string"> 13 <xs:restriction base="xs:string"> 14 14 <xs:enumeration value="Metadata"> 15 15 <xs:annotation> 16 <xs:documentation>The ResourceProxy 17 refers to another component 18 metadata instance (e.g. for 19 grouping metadata descriptions 20 into 16 <xs:documentation>The ResourceProxy refers to another component metadata 17 instance (e.g. for grouping metadata descriptions into 21 18 collections)</xs:documentation> 22 19 </xs:annotation> … … 24 21 <xs:enumeration value="Resource"> 25 22 <xs:annotation> 26 <xs:documentation>The ResourceProxy 27 refers to a file that is not a 28 metadata instance (e.g. a text 29 document)</xs:documentation> 23 <xs:documentation>The ResourceProxy refers to a file that is not a metadata 24 instance (e.g. a text document)</xs:documentation> 30 25 </xs:annotation> 31 26 </xs:enumeration> 32 </xs:restriction> 27 <xs:enumeration value="SearchService"> 28 <xs:annotation> 29 <xs:documentation>The ResourceProxy refers to a (SRU/CQL) web service that can be used to query the resource described in this file</xs:documentation> 30 </xs:annotation> 31 </xs:enumeration> 32 <xs:enumeration value="SearchPage"> 33 <xs:annotation> 34 <xs:documentation>The ResourceProxy refers to a web page that can be used to query the resource described in this file</xs:documentation> 35 </xs:annotation> 36 </xs:enumeration> 37 </xs:restriction> 33 38 </xs:simpleType> 34 39 </xsl:template> … … 36 41 37 42 <xsl:template name="PrintHeader"> 38 43 39 44 <xs:element name="Header"> 40 45 <xs:complexType> … … 59 64 <xs:element maxOccurs="1" minOccurs="1" 60 65 name="ResourceType"> 61 <xs:complexType> 62 63 64 65 66 66 <xs:complexType> 67 <xs:simpleContent> 68 <xs:extension base="cmd:Resourcetype_simple"> 69 <xs:attribute name="mimetype" type="xs:string"/> 70 </xs:extension> 71 </xs:simpleContent> 67 72 </xs:complexType> 68 73 </xs:element> … … 116 121 </xs:complexType> 117 122 </xs:element> 118 123 119 124 <xs:element minOccurs="0" name="IsPartOfList"> 120 125 <xs:complexType> 121 126 <xs:sequence> 122 <xs:element maxOccurs="unbounded" minOccurs="0" 123 name="IsPartOf"type="xs:anyURI"/>127 <xs:element maxOccurs="unbounded" minOccurs="0" name="IsPartOf" 128 type="xs:anyURI"/> 124 129 </xs:sequence> 125 130 </xs:complexType> 126 131 </xs:element> 127 132 128 133 </xs:sequence> 129 134 </xs:complexType>
Note: See TracChangeset
for help on using the changeset viewer.