work on xml structure