update xsl_transform method to support text output
document change to xsl_transform