I have the following XML:
Looks like you have so e typos that cause your problem.
Change
if (x>0 || x0 || y
into this
if (x>0 && x0 && y
Maybe that'll fix your issue.