added simple XML support; str_is_blank added
argument parsing using args module