add xml structure