Hi, I need to parse the following xml document (which is coming from external web service):
...
<dati>
<Riconoscimento>
<IdentificativoPosizione>xxxx</IdentificativoPosizione>
<OutputRestituiti>xxx</OutputRestituiti>
</Riconoscimento>
<![CDATA[text text text]]>
</dati>
...
The problem is that until there is node "Riconoscimento" simplexml parser fails to read cdata section, if i remove that child, everything is working without problems.
So the main question is: is it a valid xml document, and if it's valid is there some way to access CDATA section with php without manually removing extra childs?
Thanks in advance.