Schema Central  >  LEXS 3.1.4  >  niem-core.xsd  >  nc:LengthUnitCode
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

nc:LengthUnitCode

A unit of measure of a length value.

Element information

Namespace: http://niem.gov/niem/niem-core/2.0

Schema document: niem-constrained/niem-core/2.0/niem-core.xsd

Type: unece:LengthCodeType

Properties: Global, Qualified, Nillable

Content

  • Type based on xsd:token
    • Valid valueDescription
      4Hmicrometre (micron)
      77milli-inch
      A11angstrom
      A12astronomical unit
      A45decametre
      A71femtometre
      AKfathom
      B57light year
      C45nanometre
      C52picometre
      C63parsec
      CMTcentimetre
      DMTdecimetre
      FOTfoot
      HMThectometre
      INHinch
      KMTkilometre
      M7micro-inch
      MMTmillimetre
      MTRmetre
      NMInautical mile
      SMImile (statute mile)
      X1chain
      YRDyard

Attributes

NameOccTypeDescriptionNotes
s:id [0..1]xsd:IDThe id attribute is used to define XML IDs for NIEM objects. These IDs may be targets of reference elements, metadata attributes, and link metadata attributes.from group s:SimpleObjectAttributeGroup
s:metadata [0..1]xsd:IDREFSThe attribute metadata allows an object to point to metadata that affects itself.from group s:SimpleObjectAttributeGroup
s:linkMetadata [0..1]xsd:IDREFSThe linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object.from group s:SimpleObjectAttributeGroup

Used in

Sample instance

<nc:LengthUnitCode>INH</nc:LengthUnitCode>