I am loading up an xml file and using xslt to transform it the way i want to view it. the problem is, some characters are getting converted to things like & l t ; (without the spaces of course). This means when i print out the HREF, it doesn't actually create the HREF link...instead i get the whole html code since the character < is converted to & l t ) This is causing me great pain....anyone know how to get around it? here is my code
$xsl_file = "myws.xslt";
$xml_file = "myws.xml";
$xh = xslt_create();
$new_result = xslt_process($xh, $xml_file, $xsl_file);
print $new_result;
xslt_free($xh);
and here is my xslt file
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>FEWS WebService TEST</h2>
<table border="1" cellpadding = "0" cellspacing = "0">
<tr bgcolor="#FEF3CB">
<th>Country</th>
<th>Date</th>
<th>HREF</th>
</tr>
<xsl:for-each select="Headlines/MyWS">
<xsl:sort select="abbr"/>
<tr>
<td><xsl:value-of select="abbr"/></td>
<td><xsl:value-of select="rpt_published"/></td>
<td><xsl:value-of select="one_liner"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template></xsl:stylesheet>
and here is part of my xml file
<?xml version="1.0" encoding="UTF-8"?>
<Headlines>
<MyWS>
<mewr_id>1000701</mewr_id>
<country_id>r2</country_id>
<region>r2</region>
<lang_id>en</lang_id>
<abbr>East </abbr>
<rpt_published>
10/01
</rpt_published>
<one_liner><![CDATA[<A HREF="http://www.myurl.com" class="test4">Title goes here</A>]]></one_liner>
<cvg_start>2002-08-23 00:00:00.0</cvg_start>
</MyWS>
any ideas what is going on and how i can fix this?