I've just recently begun learning XML in the context of PHP and Javascript, and I've encountered a problem.
Here's the XML I'm using:
http://www.dkarndtcpa.net/new_site/faq.xml (I still can't figure out how to show the code in this little box here...)
So the issue is I want to put HTML markup within the XML, and then be able to extract this via PHP and embed the HTML in a different file that's reading the XML with SimpleXML. I'm echoing it with something along the lines of
echo $child->asXML();
However, of course the CDATA tags are still there and it doesn't work. So, my question is, is there either a way to A. embed HTML markup in a different way that is ignored by the XML parser but can be used in an HTML document, or B. a way to strip the CDATA tags from the code?