Apply db xml formatting