File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Xml Dom not parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Xml Dom not parsing" Watch "Xml Dom not parsing" New topic
Author

Xml Dom not parsing

Lila Fowler
Ranch Hand

Joined: Jul 31, 2009
Posts: 84
Hi All,

Im trying to get a simple example that takes data from .xml and prints titles onto the screen. I'v tried lots of different examples from different places but i cannot get any to work.
Here is the xml code:


Here is the java script &html




I have tried lots of different examples(this one is w3schools) but non of them pass my xml even though my html pg opens.
Using two different browsers(chrome & IE) both dont work.

Any ideas as to what i'm doing wrong?

Thanks a ton.


Courage is not the absence of fear but rather the judgment that something is more important then fear. ~ Ambrose Redmond
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Xml Dom not parsing
 
Similar Threads
Xml Dom not parsing
Count number of characters
simple output statements inputted in the comment section yet it is printing out in the webpage
Help in iterating array from jsp
error : xmlhttp.responseXML.documentElement is null or not an object.