Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft LRN viewer - XML IE Only 1

Status
Not open for further replies.

dranium

Technical User
Mar 9, 2009
15
CA
I am using Microsoft LRN viewer to view courses but the courses do not load in FireFox. Here is the function being used but it is using ActiveX. Is it possible that this function can be switched to be compatible with FireFox?

Code:
function LoadXML
(
strXML
)
{
	try
	{
		if(("string" != typeof(strXML)) || ("" == strXML))
		{
			return null;
		}

		var oXML = new ActiveXObject("Msxml2.DOMDocument.3.0");
		oXML.async = false;
		oXML.loadXML(strXML);
		if(0 != oXML.parseError.errorCode)
		{
			return null;
		}

		return oXML;
	}
	catch(e)
	{
		return null;
	}
}
 
Check this out.

ps: But loading is not the end of the story, far from it. Hence, having a string loaded does not solve every possible problem. Hence, this is just for your information. And that page is just a starter, definitely very incomplete.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top