The problem with XML block is that its full of tags. So you can't shorten it directly. You should first strip tags and then shorten it. Or use Text block type if you don't need the markup (like bold, italic, etc).
So you first need to decide if you need markup or not...
Thank you Ivo .I got you.I will strip the html tags or convert the intro type to text block .Since there is we do not need an xml data in the summary(intro) attribute.