added XML generic parser (first draft)