in C# and PHP, we can parse xml data easily by server side coding, but how we can parse xml with client side? java script or jquery is the best option?

Recommended Answers

All 2 Replies

I'll start with "when you have a hammer, everything looks like a nail."

That is, I see no reason you can't parse in javascript. It may not be easy or good looking but it is possible.

Hi there,
yes you can read xml using jquery easily. You will have to use DOM parser and XMLHttpRequest to do that. You may refer this reference which I found to read xml using jquery and you can make your first sample easily.
I hope this help you. If you need small sample, let me know nd I would be happy to give you small sample with code which you can use.

Thank you
Kelly

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.