QPR Knowledge Base 2017.1

Attribute XML Element

Attribute XML Element

Previous topic Next topic No directory for this topic  

Attribute XML Element

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

The model element's attributes are enumerated in Attribute XML elements. Attribute's name is an XML attribute and its value is a child XML element. The value may appear in various formats depending on the type (AttributeType XML attribute in ModelAttributeType, see section Attribute Value Formats for details). Attributes that have no value are written without Value or Record XML elements. Examples of QPR Modeling Client Attribute definition:

 

<Attribute AttributeName="Description">

 <Value>Activity1 description</Value>

</Attribute>

 

<Attribute AttributeName="Child process steps">

 <Record>

   <Field Name="ElementName" Value="SubPSAct1" />

   <Field Name="ElementId" Value="PG_PS44" />

   <Field Name="TypeName" Value="Activity" />

   <Field Name="TypeID" Value="PG_PS2" />

   <Field Name="InstanceId" Value="1" />

 </Record>

</Attribute>

 

XML attribute

Description

AttributeName

The name of the attribute. Refers to Name XML attribute of ModelAttributeType

 

Table 3.7 The XML attributes of Attribute