XMLWriter and order controller integrated