Im trying to get a XML node (with children) as string but had no success.
Here my xml
<?xml version="1.0" encoding="UTF-8"?> <params> <main_settings> <id>23</account_id> <test/> <logo_url/> <app appid="test_12"> <d:tag xmlns:c="http://mypage.com/test2" id="mypage_id_256" type="mypage_type_test"> <path-info value="show"/> </d:tag> </app> </main_settings> </params> This is not working.
$var->params->main_settings->app; Is there a way to get with simpleXML a nodes ("app") childs as sting?
test_12?