Process XML in the browser using jQuery

Navigate some major pitfalls to gain the benefits of the popular Web application API

From the developerWorks archives

Uche Ogbuji

Date archived: December 6, 2016 | First published: December 08, 2009

The popular jQuery JavaScript library is best known for its use working with HTML, but you can also use it to process XML, if you're careful and aware of the pitfalls. This article shows how to use jQuery to process the Atom Web feed format. Web feed XML is perhaps the most pervasive XML format around, and the main fulfillment of the promise of XML on the Web. But most such formats use XML namespaces, which cause issues with many popular JavaScript libraries, including jQuery.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML, Open source, Web development
ArticleID=453121
ArticleTitle=Process XML in the browser using jQuery
publish-date=12082009