{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
Slideshow of method source in a particular class. Choose a class from the Namespaces, Classes, or Methods menu item above.
Slideshow for Class 'XMLDOM'
Previous Method:

None


Current Method:

XMLDOM(markup)
Next Method:

None


Method 'XMLDOM(markup)'
Method: XMLDOM(markup)
Method Full Name:     Sys$Net$XMLDOM(markup)
Class: XMLDOM
Namespace: Sys.Net
Source File: MicrosoftAjax.debug.js
1   Sys.Net.XMLDOM = function Sys$Net$XMLDOM(markup) {
2     if (!window.DOMParser) {
3       var progIDs = [ 'Msxml2.DOMDocument.3.0', 'Msxml2.DOMDocument' ];
4       for (var i = 0, l = progIDs.length; i < l; i++) {
5         try {
6           var xmlDOM = new ActiveXObject(progIDs[i]);
7           xmlDOM.async = false;
8           xmlDOM.loadXML(markup);
9           xmlDOM.setProperty('SelectionLanguage', 'XPath');
10          return xmlDOM;
11        }
12        catch (ex) {
13        }
14      }
15    }
16    else {
17      try {
18        var domParser = new window.DOMParser();
19        return domParser.parseFromString(markup, 'text/xml');
20      }
21      catch (ex) {
22      }
23    }
24    return null;
25  }
This is the JavaScript source for method XMLDOM(markup) from ASP.NET AJAX Library. Full name for this method is Sys$Net$XMLDOM(markup). It belongs to the class XMLDOM, which is in Sys.Net namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map