Q35
Single choice
The XML document below has been parsed into $xml via SimpleXML. How can the value of <foo> tag
accessed?
<?xml version='1.0'?>
<document>
<bar>
<foo>Value</foo>
</bar> </document>