Added ADTree to XML conversion