Advanced Customization > Info*Engine User’s Guide > Info*Engine Data Management > Dynamic Parameter Value Substitution > Selecting an Element by an Attribute-Value Pair in Substitution Expressions
  
Selecting an Element by an Attribute-Value Pair in Substitution Expressions
Using an attribute–value pair for the element selector in a substitution expression provides a way to select an element without knowing the index number of the element.
To understand how the selections works, consider the following graphical representation of a group named “tbl”:
Element Selection
To return a string containing all Y attribute values from the element where X=221, include the following data attribute:
data="$(tbl[X=221]Y[*])"
The X attribute value of 221 is located in element number 2, therefore the Y attribute values returned in the string are:
"B,B1"
By default, the comma separates the values.