I've done this lot of times, but now I'm missing something.... I'm searching for a node by looking for a value in an attribute.
If I try to trace:
xmlQuestStructure.page[activePageIndex].label.@priority
The trace it's ok, and I can read High, Medium, Low (the values I'm expecting).
But if I try to trace this (where calculatedPriority is a String with value High, Medium or Low)
xmlQuestStructure.page[activePageIndex].label.(@priority == calculatedPriority)
I get ReferenceError: Error #1065: Variable priority is not defined
What am I doing wrong? Thx for your help!