I am currently working on a script that does a GET from a remote server that returns XML type data. It returns the following:
<Users><User LoginName="test5" Alias="Testing" UserType="PAID" ClientType="OBM" Quota="100000" Timezone="GMT-06:00 (CST)" Language="en" DataFile="0" DataSize="0" RetainFile="0" RetainSize="0" EnableMSSQL="Y" EnableMSExchange="N" EnableOracle="Y" EnableLotusNotes="Y" EnableLotusDomino="Y" EnableMySQL="Y" EnableInFileDelta="Y" EnableShadowCopy="N" EnableExchangeMailbox="Y" ExchangeMailboxQuota="10" Bandwidth="0" Notes=""><Contact Name="Testing" Email="abc@abc.com"/><Contact Name="john" Email="john@someDomain.com"/><Contact Name="paul" Email="paul@anotherDomain.com "/></User></Users>
I simply need to parse each element of the "user" node and get the value. can anyone offer a simple PHP function that will do this? the XML parse routines ive seen seem like overkill so far. If I have to write a custom php script that is fine but figured I'd check before I go that route. Thanks in advance.
Ronnie
Online Backup