activated xml folding