djb/exp

Minor fix to xml parsing functions