views:

183

answers:

2

I am currently updating a web app that uses ActiveX objects in client side code to manipulate some xml. Of course, this app only works in IE and I need to get it cross browser compatible.

I am looking to get a javascript xml library to handle the cross browser oddities, and was wondering if the ASP.Net ajax library would work. I have looked around a bit, but I haven't been able to any examples of loading a fresh xmldom object up using this. If not, any other good libraries out there I should take a look at?

Thanks

+1  A: 

Over a year ago I was facing a similar problem. I decided to take the JSON plunge and I've never regretted leaving XML behind. It is an order of magnitude faster and much easier to deal with in JavaScript (and many other languages). Add of the array enhancing powers of something like Prototype and you're cookin'.

Sure, there was the one-time pain of converting my data transport from XML to JSON, but it paid for itself rather quickly.

Diodeus
+1  A: 

If you need XPath or (not the xor type of an or) XSL-T, than you may be willing to take a look at Google's AJAXSLT.

I don't know that ASP.NET Ajax library includes any specific XML functionality.

Damir Zekić