added function to automatically replace taxas and alignments in BEAST
template XML