append/prepend accept xml as well