Handles embedded xml