finalized complex xml configuration