Parsing xml document on another house



  • You guys need help, there's a database, in xml format, it's on another house. I need to get the prices out of her. I'm going to javascript with XMLHtpRequest, but only Internet Explorer is connected, and the rest of the browsers write something like that.

    No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

    Does anyone know how to get involved with the xml? I've tried through yql - but there's a chml-- it's a prohibited walking format.



  • The thing is, you're trying to join a client with another house. For example, if a man sits on the website http://ru.stackoverflow.com it could turn to resource. https://ru.stackoverflow.com/otvet42 And here's the appeal. http://www.starwars.com/databank/darth-vader It's not going anywhere. So we're either gonna have to use the iframe, or we're gonna have to pick up requests through our server. HTML5 solves this problem on the client's side. I won't write it in detail, but I'll write it in Russian.

    • http://javascript.ru/ajax/cross-origin-2

    • http://javascript.ru/ajax/cross-domain-scripting




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2