File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 17, 2007
Aug 02, 2007 05:20: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 06, 2001
Aug 02, 2007 05:41:00
Welcome to the JavaRanch.
We're a friendly group, but we do require members to have
valid display names
Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.
edit your profile
and correct your display name since accounts with invalid display names get deleted, often without warning
This is your last warning. Please fix your display name and repost your request.
I agree. Here's the link:
how to open xml file into html page
Reading xml data in JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014