Sorry for the mouthful in the title. Please see example below:
<object id="1" val="value" />
<object id="2" val="value2" />
Referring to the first two nodes, in bold; If I'm trying to get the value of the attribute "val" based on the value of the attribute "id", what would be the syntax here. The typical syntax is <%= targetData.xml.object1.id1 %> for example.