Create xml file with the structure\[code\] <?xml version="1.0" encoding="utf-8"?><parent><son>Tolya</son><big>Sash......<year>1999</year>.....<fu>future<date>dates</date></fu></big> </parent>\[/code\]php file is\[code\] $xml=simplexml_load_file('info.xml');$val=$_GET['vals'];echo $xml->$val;\[/code\]I want to get access to the property values ??of $ xml. I can access a son, but do not know how to year (he can plug it into a pair of elements), if the file structure is not known. Help with a bypass function of the object's properties