extract fields from xml