xml service parser can handle class attribute