From: Wolfgang M. <wol...@ex...> - 2010-01-27 19:20:25
|
>> I would have to agree that parsing through a DOM with JavaScript is at least >> annoying. Can anyone offer better (and reasonably small) JavaScript libraries >> for this? I recently started using the jQuery javascript library, which really makes it easy to parse XML received from an HTTP request. For example, see the pagination code I created for the new bibliographic demo: http://exist.svn.sourceforge.net/viewvc/exist/trunk/eXist/webapp/biblio/jquery-utils.js?revision=11081&view=markup In a first iteration of that demo, I just generated JSON on the server using eXist's XML2JSON XQuery library. However, using jQuery selectors is so much easier. Wolfgang |