<?php header('Content-Type: text/plain'); $str_xml = "<myxml><mytag><![CDATA[In this content, 8 > 2 & 1 < 9, and 10 is a 10% of 100. ]]></mytag></myxml>"; $xml = simplexml_load_string($str_xml); $tag_content = (string)$xml->mytag; echo "Here is the content of the <mytag> node: $tag_content";
You have javascript disabled. You will not be able to edit any code.