I've found a way, by parsing the xml with this filter I could get de value so i can filter with the equals to, greater than... operators.
Substring(ToString(data) , Charindex(data , '<var1>') + Length('<var1>') , Charindex(data , '</var1>') - (Charindex(data , '<var1>') + Length('<var1>')))