This question may seem very stupid, but I am not able to find much help on how to find the node value of the last child using PHP, even though it's a piece of cake with JS. This is what my XML currently looks like:This question may seem very stupid, but I am no