rail:tGlobalElementWithMetadata

generic base type, used for inheritance of railML subschema elements

Complex Type Information

Model

rail:additionalName* , ANY element from ANY namespace OTHER than 'http://www.railml.org/schemas/2016' , rail:metadata{0,1}

Attributes

QName Type Fixed Default Use Inheritable Annotation
code rail:tGenericName optional
for typical, specific abbreviations, used in different systems with the same understanding
description rail:tElementDescription optional
should be interpreted in its elements' context, substantiates the name
id rail:tGenericID required
XML-file-wide unique identity is required for later referencing that element
name rail:tGenericName optional
should be interpreted in its elements' context (e.g. track/name, vehicle/name)
version rail:tRailMLVersion optional
only used, if subschema element is outsourced, else use 'version' attribute in root element ('railml')
xml:base xs:anyURI optional
See http://www.w3.org/TR/xmlbase/ for
information about this attribute.
xml:lang xs:language optional
In due course, we should install the relevant ISO 2- and 3-letter
codes as the enumerated possible values . . .
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.railml.org/schemas/2016'

Used By

Source

<xs:complexType name="tGlobalElementWithMetadata">
  <xs:annotation>
    <xs:documentation>generic base type, used for inheritance of railML subschema elements</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="rail:tElementWithIDAndName">
      <xs:sequence>
        <xs:element name="metadata" type="dc:elementContainer" minOccurs="0">
          <xs:annotation>
            <xs:documentation>subschema-wide flexible collection of Dublin Core metadata based on xs:any according to http://dublincore.org/</xs:documentation>
            <xs:documentation source="http://wiki.railml.org/index.php?title=IS:metadata"/>
            <xs:documentation source="http://wiki.railml.org/index.php?title=RS:metadata"/>
            <xs:documentation source="http://wiki.railml.org/index.php?title=TT:metadata"/>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="version" type="rail:tRailMLVersion">
        <xs:annotation>
          <xs:documentation>only used, if subschema element is outsourced, else use 'version' attribute in root element ('railml')</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute ref="xml:base">
        <xs:annotation>
          <xs:documentation>provide outsourcing of subschema element with xi:include mechanism</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>