shrink XML text