Commit cd2ff7dc authored by IS Coordination's avatar IS Coordination
Browse files

adding attribute "type" of type tOcpNameType to tOcpWithIDAndName, closes #191

git-svn-id: https://svn.railml.org/trunk@517 997d4637-a740-4bf4-9a76-81fddc049f28
Showing with 36 additions and 31 deletions
+36 -31
......@@ -262,37 +262,42 @@
</xs:complexContent>
</xs:complexType>
<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: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:extension>
</xs:complexContent>
</xs:complexType>
<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: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>
<xs:complexType name="tAdditionalOcpName">
<xs:attribute name="name" type="rail:tGenericName">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment