added getstmt
Merge branch 'master' of github.com:creighton/xapicmd