I tried with your UDA. Everything seems working fine for me, either RunNow or workflow runtime. I tried with hardcoded XML that you provided as well。
Did you try with different xpath expression to see what output are return from Query XML? And please double check with your ULS logs to see any errors as well.