design XHPathConver api