EventPartType

EventPartType 用于指定事件部分的结构。单一事件定义可以包含由不同 XML 模式定义的不同事件部分。所有事件部分与公共基本事件定义(如果提供了此定义)共同描述整个事件的结构。

元素
属性
Name 必需或可选 类型 Description
id 必需 String 该事件部分的标识。根据标识的唯一性约束,该标识必须是唯一的。
路径 (path) 必需 String 用于定义如何在运行时查找事件部分描述的内容的路径。
类型 可选 QName 用于定义路径所指向内容的结构的类型。
限制
模式定义
<xsd:complexType name="EventPartType">
  <xsd:complexContent>
    <xsd:extension base="mon:NamedElementType">
      	<xsd:attribute name="path" type="xsd:string" use="required"/>
      	<xsd:attribute name="type" type="xsd:QName" use="optional"/>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>