Schema Central > Genericode 1.0 > genericode.xsd > gc:ColumnSet
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gc:ColumnSet

Top-level element for the definition of a column set.

Element information

Type: gc:ColumnSetDocument

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
DatatypeLibrary [0..1]xsd:anyURIURI 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:anyURIBase 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>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com