and I want to save it to the variable 'var' as a string using XSL or something better.
For eg:
var = "<components><Tag><PropertiesName="MS"URL="www.microsoft.com"> </Properties></Tag><Tag><Properties Name="SUN" URL="www.sun.com"> </Properties></Tag>......</components>"