xmlreader functions return and accept readerId, actual XmlReader pointer stored in a map