0

my project is needed to bypass CORS. And i believe in JSONP can do it. I want to Load XML from another domain with JSONP. I need to help in this problem.

And this is my idea:

  • Step 1: Connected to another domain by JSONP (with username and password)
  • Step 2: Because XML construction is different from JSONP, so, in step 2, i want to convert data before GET, and i want to convert data to TEXT.
  • Step 3: Convert TEXT DATA to XML DATA.
  • Step 4: Do something with XML Data.

I think AJAX Jquery datatype ="JSONP TEXT XML" can do it. But in my project. I can't do it.

Thanks for helping !!!

huy cao
  • 28
  • 8

0 Answers0