You can extract the value of a xml node from a output response using lr_xml_get_values function.
lr_xml_get_values("xml={result}", "Query=/Envelop/Body/..../enrollID","ValueParam=enrollID","NotFound=continue",LAST);
if (strcmp(lr_eval_string("{enrollID}"),"900")==0)
do
else
do
hope this helps you.