⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 valueobjects.xsd

📁 XML Schema Documents for GML Version 3.1.1 GML通用GIS文件格式Schema。
💻 XSD
📖 第 1 页 / 共 2 页
字号:
				<sch:pattern name="Check components are homogeneous">					<sch:rule context="gml:ValueArray">						<sch:assert test="count(gml:valueComponent/*) = count(gml:valueComponent/*[name() = name(../../gml:valueComponent[1]/*[1])])">All components of <sch:name/> must be of the same type</sch:assert>						<sch:assert test="count(gml:valueComponents/*) = count(gml:valueComponents/*[name() = name(../*[1])])">All components of <sch:name/> must be of the same type</sch:assert>					</sch:rule>				</sch:pattern>			</appinfo>			<documentation>A Value Array is used for homogeneous arrays of primitive and aggregate values.   _ScalarValueList is preferred for arrays of Scalar Values since this is more efficient.  Since "choice" is not available for attribute groups, an external constraint (e.g. Schematron) would be required to enforce the selection of only one of these through schema validation</documentation>		</annotation>	</element>	<!-- attribute group required for ValueArray -->	<attributeGroup name="referenceSystem">		<attribute name="codeSpace" type="anyURI" use="optional"/>		<attribute name="uom" type="anyURI" use="optional"/>	</attributeGroup>	<!-- ====================================================================== -->	<!-- ====================== Typed ValueExtents ============================ -->	<group name="ValueExtent">		<choice>			<element ref="gml:CategoryExtent"/>			<element ref="gml:QuantityExtent"/>			<element ref="gml:CountExtent"/>		</choice>	</group>	<!-- ======================================================================	<element name="QuantityExtent" type="gml:QuantityExtentType" substitutionGroup="gml:_Value"> -->	<element name="QuantityExtent" type="gml:QuantityExtentType">		<annotation>			<documentation>Utility element to store a 2-point range of numeric values. If one member is a null, then this is a single ended interval.</documentation>		</annotation>	</element>	<!-- -->	<complexType name="QuantityExtentType">		<annotation>			<documentation>Restriction of list type to store a 2-point range of numeric values. If one member is a null, then this is a single ended interval.</documentation>		</annotation>		<simpleContent>			<restriction base="gml:MeasureOrNullListType">				<length value="2"/>			</restriction>		</simpleContent>	</complexType>	<!-- ======================================================================	<element name="CategoryExtent" type="gml:CategoryExtentType" substitutionGroup="gml:_Value"> -->	<element name="CategoryExtent" type="gml:CategoryExtentType">		<annotation>			<documentation>Utility element to store a 2-point range of ordinal values. If one member is a null, then this is a single ended interval.</documentation>		</annotation>	</element>	<!-- -->	<complexType name="CategoryExtentType">		<annotation>			<documentation>Restriction of list type to store a 2-point range of ordinal values. If one member is a null, then this is a single ended interval.</documentation>		</annotation>		<simpleContent>			<restriction base="gml:CodeOrNullListType">				<length value="2"/>			</restriction>		</simpleContent>	</complexType>	<!-- ======================================================================	<element name="CountExtent" type="gml:CountExtentType" substitutionGroup="gml:_Value"> -->	<element name="CountExtent" type="gml:CountExtentType">		<annotation>			<documentation>Utility element to store a 2-point range of frequency values. If one member is a null, then this is a single ended interval.</documentation>		</annotation>	</element>	<!-- -->	<simpleType name="CountExtentType">		<annotation>			<documentation>Restriction of list type to store a 2-point range of frequency values. If one member is a null, then this is a single ended interval.</documentation>		</annotation>		<restriction base="gml:integerOrNullList">			<length value="2"/>		</restriction>	</simpleType>	<!-- ====================================================================== -->	<!-- ===================== pieces needed for compositing ==================== -->	<element name="valueProperty" type="gml:ValuePropertyType">		<annotation>			<documentation>Element which refers to, or contains, a Value</documentation>		</annotation>	</element>	<!-- ====================================================================== -->	<element name="valueComponent" type="gml:ValuePropertyType">		<annotation>			<documentation>Element which refers to, or contains, a Value.  This version is used in CompositeValues.</documentation>		</annotation>	</element>	<!-- ====================================================================== -->	<complexType name="ValuePropertyType">		<annotation>			<documentation>GML property which refers to, or contains, a Value</documentation>		</annotation>		<sequence minOccurs="0">			<group ref="gml:Value"/>		</sequence>		<attributeGroup ref="gml:AssociationAttributeGroup"/>	</complexType>	<!-- ====================================================================== -->	<!-- ====================================================================== -->	<element name="valueComponents" type="gml:ValueArrayPropertyType">		<annotation>			<documentation>Element which refers to, or contains, a set of homogeneously typed Values.</documentation>		</annotation>	</element>	<!-- ====================================================================== -->	<complexType name="ValueArrayPropertyType">		<annotation>			<documentation>GML property which refers to, or contains, a set of homogeneously typed Values.</documentation>		</annotation>		<sequence>			<group ref="gml:Value" maxOccurs="unbounded"/>		</sequence>	</complexType>	<!-- ====================== utility typed valueProperty types ===================  -->	<complexType name="ScalarValuePropertyType">		<annotation>			<documentation>Property whose content is a scalar value.</documentation>		</annotation>		<complexContent>			<restriction base="gml:ValuePropertyType">				<sequence minOccurs="0">					<!-- <element ref="gml:_ScalarValue"/> -->					<group ref="gml:ScalarValue"/>				</sequence>			</restriction>		</complexContent>	</complexType>	<complexType name="BooleanPropertyType">		<annotation>			<documentation>Property whose content is a Boolean value.</documentation>		</annotation>		<complexContent>			<restriction base="gml:ValuePropertyType">				<sequence minOccurs="0">					<element ref="gml:Boolean"/>				</sequence>			</restriction>		</complexContent>	</complexType>	<complexType name="CategoryPropertyType">		<annotation>			<documentation>Property whose content is a Category.</documentation>		</annotation>		<complexContent>			<restriction base="gml:ValuePropertyType">				<sequence minOccurs="0">					<element ref="gml:Category"/>				</sequence>			</restriction>		</complexContent>	</complexType>	<complexType name="QuantityPropertyType">		<annotation>			<documentation>Property whose content is a Quantity.</documentation>		</annotation>		<complexContent>			<restriction base="gml:ValuePropertyType">				<sequence minOccurs="0">					<element ref="gml:Quantity"/>				</sequence>			</restriction>		</complexContent>	</complexType>	<complexType name="CountPropertyType">		<annotation>			<documentation>Property whose content is a Count.</documentation>		</annotation>		<complexContent>			<restriction base="gml:ValuePropertyType">				<sequence minOccurs="0">					<element ref="gml:Count"/>				</sequence>			</restriction>		</complexContent>	</complexType>	<!-- ====================================================================== --></schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -