XML / XSLT in JavaScript

I studied examples of using XML and XSLT in JavaScript, and I do not understand the differences between the various options in IE:

  • Msxml2.DOMDocument.6.0
  • Msxml2.DOMDocument.3.0
  • Microsoft.XMLHTTP
  • Microsoft.XMLDOM

Therefore, when using the approach:

var xml = new ActiveXObject("Xxxxxxx");

If xxxxxx is one of the above options.

What should i use? What is the difference between the two?

+3
source share
1 answer

XML Microsoft COM MSXML , Windows. Microsoft, , Microsoft OS MSXML 3 MSXML 6. , ActiveXObject JScript, MSXML 3: http://msdn.microsoft.com/en-us/library/ms766426%28v=vs.85%29 MSXML 6 : http://msdn.microsoft.com/en-us/library/ms764622%28v=vs.85%29. , - , "MSXML2", MSXML , DOM MSXML 3.0 MSXML2.DOMDocument.3.0, DOM MSXML 6.0 - Msxml2.DOMDocument.6.0.

, Microsoft., , MSXML, , MSXML 3 MSXML 6 .

MSXML 3 6, , ; MSXML 3 MSXML 6 , MSXML 6 , , MSXML 3 DTD. MSXML 6 , , . http://msdn.microsoft.com/en-us/library/ms754611%28v=vs.85%29.

XSLT, MSXML 3 6 XSLT XPath 1.0, , , MSXML 6 .

+6

All Articles