I was trying to reach the deepest element in a xml.
for example,
<a>
<b></b>
</a>
<a>
<b>
<c></c>
</b>
</a>
<a>
<b>
<c>
<d></d>
</c>
</b>
</a>
in that kind of structure of xml, how can I reach <d></d> element?
could someone explain? (someone mentioned, it needs to use simpleXML but I still have no idea)
for example,
<a>
<b></b>
</a>
<a>
<b>
<c></c>
</b>
</a>
<a>
<b>
<c>
<d></d>
</c>
</b>
</a>
in that kind of structure of xml, how can I reach <d></d> element?
could someone explain? (someone mentioned, it needs to use simpleXML but I still have no idea)