I have to scan an xml file and get info of attributes from it and present it in a database.
Syntax of xml file:
<trap id="1" phno="900012450" mac-id="0016e8533700" process="System Reboot">
<time dt="05/05/2010" tm="16:09:08"/>
</trap>
here retrieve id , process , date , time.
Do I use jQuery like :
$("#tagname").attr(yourattribute)
to get the attribute
then $.post(parameters)
to post it via AJAX to a relevant PHP file. (suggeste by a frnd)
If yes, plz give me more info on how to use this or if u have an alternative technology in mind.