Support XML folding support