rxml development, incomplete coding, untested