Tuesday, February 22, 2011

Loading XML Document

For most browswers:
var xmlhttp = new XMLHttpRequest();

For IE5 and 6:
var xmlhttp = new ActiveXObject();

Selecting Nodes for IE:
xmlDoc = selectNodes(xpath);

Selecting Nodes for Others:
xmlDoc.evaluate(xpath,xmlDoc,null,XPathResult.ANY_TYPE,null);


.

No comments:

Post a Comment