beginning/middle/end xmls