xml read in, first bottalk functions