initial cut at parsing xml output