Add folding for xml.