add xml declaration as option