阅读背景:

尝试使用PHP在XML文件中查找字符串

来源:互联网 

I had a KML file that i've changed into an XML and i can output any information from it with no problem. But my "description" tag has a CDATA block inside which has HTML code. Im using PHP to echo something if "description" tag contains "some HTML code". But in my XML file, the "td" tags (which are in a CDATA block as i said) are separated by two line breaks and because of that my if statement doesnt work.I had a KML file that i've changed into an XML




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: