working with XML parser, non-functional