$value = $simpleXmlDoc->SomeNode->InnerNode;
actually assigns a simplexml object to $value instead of the actual value of InnerNode.
If I do:
$value = $simpleXmlDoc->SomeNode->InnerNode . "n";
I get the value. Anyway of getting the actual value without the clumsy looking . "n"
?
Cast as whatever type you want (and makes sense...). By concatenating, you're implicitly casting to string, so