Special derived type without 'any' element sequence but 'anyAttribute' for inheritance with 'xs:all' model group. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
code | rail:tGenericName | optional |
|
||||
description | rail:tElementDescription | optional |
|
||||
id | rail:tGenericID | required |
|
||||
name | rail:tGenericName | optional |
|
||||
xml:lang | xs:language | optional |
|
||||
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.railml.org/schemas/2016' |
Complex Type | rail:eInfraAttr |
<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> |