I wrote earlier about my Microsoft XML Parser sniffer. My previous post included a link about using DOM Document in Mozilla/Opera, and it got me thinking. I am going to write a cross-browser XML sniffer with functions to initialise both the DOM Document and XMLHTTPRequest objects in all browsers. I don’t think any other of the XML objects in the Microsoft XML Parser have W3C alternatives which Mozilla/Opera can utilize.
The changes from the current XML sniffer will be:
Check if IE or Mozilla/Opera.
Array with all Microsoft XML Parser versions. Loop through and find newest version installed. Better than the current try/catch of all versions which is currently used.
Include W3C standard of XMLHTTPRequest and DOMDocument together with all the current included objects from Microsoft XML Parser.
Anyone got some thoughts regarding this?