I'm trying to load an XML file using:
$xml = simplexml_load_file('https://xxxxx/xxxxx.xml');
And XML file has some comments you can see in the pic below, which I'd like to use the data in the comments while creating my table:
But when I tried to var_dump the data I see ["comments"] as:
["comment"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#5 (0) {
}
[1]=>
object(SimpleXMLElement)#7 (0) {
}
}
Question is how could I retrieve the content of comments so I can use the lang names given in them?

