Carlos got it partly right, there is one more issue with this. You are trying to shorten a xml attribute with a string operator, it will just mess up your output. There is a contribution somwhere (on this site or projects) by Xavier that shortens xml content.