Question

What is the best way to parse and xml file?

By stoodQ ·
Hi guys, I have an XML file with huge data, I need advice or any source where I can get help to parse an xml file through server side technologies or client side technologies. Any help will be appreciated.
Thank you
2 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Collapse -

Parse XML

by allenjame1991 In reply to What is the best way to p ...

Stax model would be a better approach to minimize the memory foot print since it is a push based model. I have personally used Axio (Which is used in Apache Axis) and parse elements using XPath expressions which is less verbose than going through node elements

Collapse -

You may use jquery at client side for parsing your xml

by dhanviinet In reply to Parse XML

You may use XMLHttpRequest and DOMParser to parse your xml and display that in your web page easily. There is reference with complete guide available here https://www.stoodq.com/article/read-xml-file-using-jquery-3 with source code and sample of data which you can use easily. Let me know if you want any code sample, I will be happy to create small sample and send you.

Thank you
Martyn

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums