Wrapper around XML parser