rail:tElementWithIDAndNameWithoutAny

Special derived type without 'any' element sequence but 'anyAttribute' for inheritance with 'xs:all' model group.

Complex Type Information

Model

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)
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

Complex Type rail:eInfraAttr

Source

<xs:complexType name="tElementWithIDAndNameWithoutAny">
  <xs:annotation>
    <xs:documentation>Special derived type without 'any' element sequence but 'anyAttribute' for inheritance with 'xs:all' model group.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="rail:tAdditionalName">
      <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:extension>
  </xs:complexContent>
</xs:complexType>