What is a simple way to parse this specific xml using php? -
What is a simple way to parse this specific xml using php? -
whay way ( native way works in both php 4 , 5 ) extract value xml string
<root> <node1> <![cdata[the-text]]> </node1> </root>
i wish extract the-text content.
you can utilize simple xml 3rd parameter parse cdata text:
look there: http://www.vijayjoshi.org/2009/09/22/quick-php-tip-how-to-parse-cdata-sections-using-simplexml/
php xml dom
Comments
Post a Comment