Organizational Research By

Surprising Reserch Topic

get root node of xml doc using simplexml using -'php,simplexml'


get root node of xml doc using simplexml  using -'php,simplexml'

Using simplexml_load_string() how do I get "ForgotPassword" from the following XML?

<?xml version="1.0" encoding="utf-8"?>
<ForgotPassword>
    <version>1.0</version>
    <authentication>
        <login>username</login>
        <apikey>login</apikey>
    </authentication>
    <parameters>
        <emailAddress>joesmith@example.com</emailAddress>
    </parameters>
</ForgotPassword>

    
asked Sep 8, 2015 by rajesh
0 votes
7 views



Related Hot Questions



Government Jobs Opening


...