XML to HTML Character Escaping

wxdqz

New Member
I've got an xsl stylesheet transforming an xml file into html. It worksfine, including using <xsl:output mode="html"> to control the style ofoutput.My problem is that I need to output an href value which contains anampersand. i.e. something like:<A HREF=http://forums.devx.com/archive/index.php/"page.asp?value1=Hello&value2=World">The output always has the & replaced with & which I of course don'twant. I've tried all sorts including a script function to build the stringand using a CDATA section containing the & but the & still gets changed.Any ideas?
 
Back
Top