A->b->c might exist but c might not exist. How do I check it?
A->b->c
c
After some experimentation, I've discovered that the only reliable method of checking if a node exists is using count($xml->someNode).
count($xml->someNode)
Here's a test case: https://gist.github.com/Thinkscape/6262156