• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 401
  • Last Modified:

Parse XML using SimpleXML

I have an XML doc that looks like this:

<UDOAResponse>
      <OMX>xxxxx</OMX>
      <Success>1</Success>
etc....
</UDOAResponse>

How can I get the <Success> value?

Thanks!
0
interclubs
Asked:
interclubs
1 Solution
 
mpickreignCommented:
$xml = simplexml_load_file(path_to_xml_file);
$var = $xml->Success (this is how to access it/assign it to a var)



0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now