Get root node of XML doc using simplexml
Posted
by John Conde
on Stack Overflow
See other posts from Stack Overflow
or by John Conde
Published on 2010-05-11T15:00:59Z
Indexed on
2010/05/11
15:04 UTC
Read the original article
Hit count: 272
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>[email protected]</emailAddress>
</parameters>
</ForgotPassword>
© Stack Overflow or respective owner