Hi, I am using an XSL Style sheet to display data from XML Using a table..... All is fine until there is a Carriage Return in the XML ie : : <description>This is the description.</description> : : When I try to assign this data to a variable, this causes an error - Unterminated String Constant - how can I escape the Carraige Return so that it wont cause an error but will still maintain its form? D
Dave, I tested your example with a simple XSLT <xsl:template match="/"> <xsl:variable name="myVar" select="description"/> <xsl:value-of select="$myVar"/> </xsl:template> and Xalan, and there were no problems at all, the output was This is the description. What do you use for XSL transformation?
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Gift giving made easy with the permaculture playing cards