Please enable JavaScript to view this site.

QPR Knowledge Base 2023.1

  •      
  • Navigation: Developer's Guide > QPR XML Integration > QPR XML Format > ModelElements XML Element

    Attribute XML Element

    Scroll Prev Top Next More

    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