xml-helper: Return TRUE/FALSE instead of 0/-1.