Generalized XML feeding