add folding for xml