This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Xml Dom not parsing
 
Similar Threads
Xml Dom not parsing
simple output statements inputted in the comment section yet it is printing out in the webpage
Count number of characters
Help in iterating array from jsp
error : xmlhttp.responseXML.documentElement is null or not an object.