PDA

Click to See Complete Forum and Search --> : xml parser


shereen
Jun 29th, 2006, 06:22 AM
i download dom parser to parse the doc but it always give me error that document is invalid
i make the xml schema like that

<userName>ahmed
<nickName>ahmed</nickName>
<says>hi every body </says>
<atTime>Tue Jun 27 00:01:00 EEST 2006</atTime>
<inRoom>tennis</inRoom>
</userName>
i try to find parser accept that foramt of data but i fail
i want to know how i can get the elements and attribute only
thanx

Guiseppe
Jul 3rd, 2006, 02:48 AM
Try adding
<?xml version="1.0"?>
At the top of the file.

shereen
Jul 3rd, 2006, 06:29 AM
thank you very much for your reply i solve the problem thank you again

manavo11
Jul 6th, 2006, 07:57 AM
You can now go to the Thread Tools menu at the top of the thread and select the Mark Thread Resolved menu item to show that your question has been answered.

Thanks :)