Escape characters in XSLT ??
843834Dec 20 2006 — edited Dec 20 2006Hi guys
I am using the translate function in XSLT to replace a certain character in with another one in the variable that i pass (string)
it works with some thing like:
<xsl:value-of select="translate($string, 'i', 'j' )"/>
to replace all the i 's contained in the variable string with j 's
but when i use:
<xsl:value-of select="translate($string, '
', '</br>' )"/>
to solve my actual problemo which basically is to replace the xml newlines with html new lines in the transform the xml spy gives me the error:
the file is not well-formed ; expected
any escape character that i could use??
or any other suggestions??