<eventAttribute> 元素會提供方法,將事件類型與事件屬性相關聯,作為 <attributeAlias> 元素所定義之屬性別名的一部分。
<eventAttribute> 具有下列屬性:
名稱 | 說明 | 資料類型 | 必要的嗎? |
---|---|---|---|
type | 會定義事件類型的名稱。此名稱與 <eventType> 元素上的 type 屬性所使用的名稱相同。 | xsd:NMTOKEN | 是 |
attributeName | 會指定透過屬性別名與其他事件屬性相關聯之事件屬性的完整名稱。此名稱必須符合 act_event 變數中所使用的名稱,才能呼叫 getAttribute 方法。 | xsd:string | 是 |
<eventAttribute> 不包含任何元素。