Solved

XML ActiveXObject failing to load in IE mac

Posted on 2003-10-30
11
265 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 25

Expert Comment

by:devic
ID: 9649622
this method requires ActiveX, this will not work on a Macintosh
0
 

Author Comment

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

Expert Comment

by:Nushi
ID: 9649782
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:ahosang
ID: 9649839
>> 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
ID: 9649850
using java as applet will be cross browser no matter what
you OS is mac/win/ba and so on.

Nushi.
0
 
LVL 25

Expert Comment

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

Expert Comment

by:Nushi
ID: 9649891
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
ID: 9650135
oops, FouadDaniels did not spoke, that xml is on client machine.
0
 

Author Comment

by:FouadDaniels
ID: 9656515
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
ID: 9656541
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
ID: 9883964
Thank yoy.

Nushi.


0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

690 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