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 < which is of course a standard XML for special caracters. 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 < ) This is causing me great pain....anyone know how to get around it? here is my code
PHP:
$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);
XML :
<link><![CDATA[<A HREF="http://www.myurl.com">CLICK HERE</A>]]></link>
HTML view source :
<A HREF="http://www.myurl.com">CLICK HERE</A>
HTML view browser :
<A HREF="http://www.myurl.com">CLICK HERE</A>
any ideas what is going on and how i can fix this?