SyntaxFix
Write A Post
Hire A Developer
Questions
Just remove the slash after Data and prepend the root:
Data
<xsl:variable name="myVarA" select="/root/DataSet/Data[@Value1='2']/@Value2"/>