gc:ColumnSet
Top-level element for the definition of a column set.
Element information
Namespace: http://docs.oasis-open.org/codelist/ns/genericode/1.0/
Schema document: genericode.xsd
Type: gc:ColumnSetDocument
Properties: Global, Qualified
Content
- Sequence [1..1]
- Annotation [0..1] User annotation information.
- Identification [1..1] Identification and location information (metadata).
from group gc:DocumentHeaderfrom group gc:ColumnSetContentfrom group gc:ColumnChoicefrom group gc:KeyChoice
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
DatatypeLibrary | [0..1] | xsd:anyURI | URI which uniquely identifies the default datatype library for the column set. If not provided, defaults to the URI for W3C XML Schema datatypes. | Default value is "http://www.w3.org/2001/XMLSchema-datatypes". from group gc:DefaultDatatypeLibrary |
xml:base | [0..1] | xsd:anyURI | Base URL which applies to relative location URIs. |
Sample instance
<gc:ColumnSet> <Annotation> <Description> <html:p>This is an example based on a UBL code list. It is <html:strong>not </html:strong>an official UBL document.</html:p> </Description> </Annotation> <Identification> <ShortName>UBLCodeListColumnSet</ShortName> <LongName xml:lang="en">UBL Code List Column Set (Example)</LongName> <Version>0.1</Version> <CanonicalUri>http://www.example.com/ubl/codelist/genericode/columnset/</CanonicalUri> <CanonicalVersionUri>http://www.example.com/ubl/codelist/genericode/columnset/1.0/</CanonicalVersionUri> <LocationUri>http://docs.oasis-open.org/ubl/os-ubl- 2.0/cl/gc/default/UBLColumnSet.gc </LocationUri> </Identification> <Column Id="code" Use="required"> <ShortName>Code</ShortName> <Data Type="normalizedString"/> </Column> <Column Id="name" Use="optional"> <ShortName>Name</ShortName> <Data Type="string"/> </Column> <Column Id="numericcode" Use="optional"> <ShortName>NumericCode</ShortName> <Data Type="string"/> </Column> <Key Id="codeKey"> <ShortName>CodeKey</ShortName> <ColumnRef Ref="code"/> </Key> </gc:ColumnSet>