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