a tiny configure reader based on xmlparser