A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 17, 2007
Aug 02, 2007 06:00:00
This is the piece of code which i used. Please go through it. This doesnt seem to work.
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async = false;
// The xml file is present in the same folder where this
file is present
xmlObj = xmlDoc.documentElement;
alert(xmlObj); //i get a "null" here
Joined: Mar 22, 2005
Aug 02, 2007 06:11:00
Please do not post the same question to multiple forums:
Let's continue the discussion in
this duplicate post
in the XML forum, since the question has nothing to do with JSP.
I agree. Here's the link:
how to open xml file into html page
Reading xml data in JSP
Problem using Microsoft.XMLDOM, getting status as 'undefined'
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015