Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
parsing XML using Xpath and Javascript
#1
Dear developers,
Please, could you help me with my problem?
I am trying to get TITLEs from Atom.XML file using Xpath "/bookstore/book/title". It works in IE, but doesn't in Firefox. I think the problem is in namespace and some prefix that generated by <feed xmlns="http://www.w3.org/2005/Atom">. I can't delete that field from Xml file.
What JavaScript code can silve the problem? How can I get the titles?
Thank you!
Kostya
PS: XML file header

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Change the cursor for JavaScript links lucy 1 785 06-18-2010, 05:01 AM
Last Post: zenkarman
  Firefox shuts down when javascript enabled Jerry_Falwells_God 1 903 03-02-2010, 02:24 AM
Last Post: jckkeith
  JavaScript Problem sampitt94 3 921 11-14-2006, 07:46 PM
Last Post: FirefoxWiz
  Javascript Popup Problem! DrPoodle 1 959 06-17-2006, 03:24 PM
Last Post: FirefoxWiz
  Remote XML is not getting loaded umahesh 2 1,135 04-07-2006, 11:12 AM
Last Post: BETA_mybb_import3230

Forum Jump:


Users browsing this thread: 1 Guest(s)