I really don't understand how to use SimpleXML in PHP.
Here is an exemple of my XML file:
<?xml version="1.0" encoding="UTF-8" ?> <eventlog version="1.1"> <event source="Firewall" timeStamp="1308433939" type="0" deleted="0" bodyLength="218"> <subject>Network access detected</subject> <action>Allowed</action> <message>The program c:\xampp\apache\bin\httpd.exe attempted to connect to the Internet. The program used the protocol TCP on port 80.</message> </event> </eventlog> I need to retrieve this: Source, Timestamp, Subject, Action, Message
I just don't get it. Can someone please help me with this?