rail:tOcpWithIDAndName

generic base type, used for inheritance of many railML types

Complex Type Information

Model

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

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)
type rail:tOcpNameType optional
type of the ocp name
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="tOcpWithIDAndName">
  <xs:annotation>
    <xs:documentation>generic base type, used for inheritance of many railML types</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="rail:tAdditionalName">
      <xs:sequence>
        <xs:element name="additionalName" type="rail:tAdditionalOcpName" minOccurs="0" maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>additional names and its according descriptions to be provided in other languages, dialects, encodings...</xs:documentation>
            <xs:documentation source="http://wiki.railml.org/index.php?title=IS:additionalName_ocp"/>
          </xs:annotation>
        </xs:element>
        <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>provide an extension point for non-railML elements in foreign namespace</xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:sequence>
      <xs:attribute name="id" type="rail:tGenericID" use="required">
        <xs:annotation>
          <xs:documentation>XML-file-wide unique identity is required for later referencing that element</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="code" type="rail:tGenericName">
        <xs:annotation>
          <xs:documentation>for typical, specific abbreviations, used in different systems with the same understanding</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="type" type="rail:tOcpNameType">
        <xs:annotation>
          <xs:documentation>type of the ocp name</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>