Schema Central > niem40 > valueObjects.xsd > gml:ValueArray
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:ValueArray

A Value Array is used for homogeneous arrays of primitive and aggregate values.  
The member values may be scalars, composites, arrays or lists.
ValueArray has the same content model as CompositeValue, but the member values shall be homogeneous.  The element declaration contains a Schematron constraint which expresses this restriction precisely.  Since the members are homogeneous, the gml:referenceSystem (uom, codeSpace) may be specified on the gml:ValueArray itself and inherited by all the members if desired.

Element information

Type: gml:ValueArrayType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
gml:id [1..1]xsd:IDThe attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs.from type gml:AbstractGMLType
aggregationType [0..1]gml:AggregationTypefrom group gml:AggregationAttributeGroup
codeSpace [0..1]xsd:anyURIfrom group gml:referenceSystem
uom [0..1]gml:UomIdentifierfrom group gml:referenceSystem

Used in

Substitution hierarchy

Sample instance

<gml:ValueArray gml:id="ID" uom="">
   <gml:metaDataProperty>
      <gml:GenericMetaData>Any text, intermingled with:
         <!--any element-->
      </gml:GenericMetaData>
   </gml:metaDataProperty>
   <gml:description>string</gml:description>
   <gml:descriptionReference/>
   <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
   <gml:name>string</gml:name>
   <gml:valueComponent>
      <gml:Boolean>true</gml:Boolean>
   </gml:valueComponent>
   <gml:valueComponents>
      <gml:Boolean>true</gml:Boolean>
   </gml:valueComponents>
</gml:ValueArray>