inline xml parsing