added ability to parse XML from stdin rather than provided paths