checking xml element is none vs. nonzero