Working xml tree