How does php parse this type of xml file

<?xml version="1.0" encoding="UTF-8"?>
<documentroot>
<![CDATA[<title>title</title>]]>
<![CDATA[<sectitle></sectitle>]]>
<![CDATA[<thdtitle></thdtitle>]]>
<![CDATA[<linktitle></linktitle>]]>
<![CDATA[<author></author>]]>
<![CDATA[<source></source>]]>
<![CDATA[<editor>editor</editor>]]>
<![CDATA[<keyword></keyword>]]>
<![CDATA[<describe></describe>]]>
<![CDATA[<content>

<a>contetn</a>

</content>]]> <![CDATA[<createdate>2018-01-12 15:43:33</createdate>]]> <![CDATA[<deploytime>2018-01-12 15:43:33</deploytime>]]> </documentroot>

add: html tags in content cannot be parsed

Aug.16,2021

$xml = str_replace(['<![CDATA[',']]>'],['',''],$xml);
$dom = simplexml_load_string($xml);
Menu