create xml tree structure example