Solved

XML ActiveXObject failing to load in IE mac

Posted on 2003-10-30
11
260 Views
Last Modified: 2008-03-04
Hi Experts,

I am trieing to instantiate one of these objects in IE 5+ on the Mac.
MSXML4.DOMDocument
MSXML3.DOMDocument
MSXML2.DOMDocument
MSXML.DOMDocument
Microsoft.XmlDom

using th efolowing syntax:
var x = new ActiveXObject( "..." );

All fail to instantiate.

How should I proceed?

Regards,
Fouad Daniëls
0
Comment
Question by:FouadDaniels
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 25

Expert Comment

by:devic
Comment Utility
this method requires ActiveX, this will not work on a Macintosh
0
 

Author Comment

by:FouadDaniels
Comment Utility
What other way is there to work with XML on a macintosh?
0
 
LVL 10

Expert Comment

by:Nushi
Comment Utility
as devic said it will not work on mac
since activeX is a windows componenet.

you will have to go around and write application in C++/Java etc that
does it for you.

if you use IE under mac try to use XMLDataIslands if its good enougth for your purposes.

XMLDATAISLANDS link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/htm/xmcondataislands.asp

Hope it will help you
:-))

Nushi.
0
 
LVL 12

Expert Comment

by:ahosang
Comment Utility
>> What other way is there to work with XML on a macintosh?
Use Mozilla for the app
0
 
LVL 10

Accepted Solution

by:
Nushi earned 500 total points
Comment Utility
using java as applet will be cross browser no matter what
you OS is mac/win/ba and so on.

Nushi.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 25

Expert Comment

by:devic
Comment Utility
i think better for NON WINDOWS to do this on server side.
0
 
LVL 10

Expert Comment

by:Nushi
Comment Utility
how can u do it (server side) if the file is on the clinet machine?
you must write upload machnism to do it.


Nushi.
0
 
LVL 25

Expert Comment

by:devic
Comment Utility
oops, FouadDaniels did not spoke, that xml is on client machine.
0
 

Author Comment

by:FouadDaniels
Comment Utility
I think I will be going for the java aproach. Who can point me to a good sample source and instructions on how to compile the xml applet.
That will be where my 500 points go.

Regards,
Fouad
0
 
LVL 10

Expert Comment

by:Nushi
Comment Utility
hi there.

no problems.
simply go to java.sun.com take a look at their tutorials:
xerces (XML parser )
applets  (you can find severl tutorials at diffrent levels)

the tutorials are at:
XML: http://java.sun.com/webservices/downloads/webservicestutorial.html

Glad to help and feel free to ask for more information if you need it.
even after you close this question.

if you start writing and you have some problems you can still post it here.

Nushi.
0
 
LVL 10

Expert Comment

by:Nushi
Comment Utility
Thank yoy.

Nushi.


0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now