Flesh-out the domain XML creation