add xml tree on content directory object