I think the problem is when loading from a local file the Content-Type
isn't set to "text/xml" so IE doesn't bother to parse it.
One possible work around is to load it as text in IE and then parse it
yourself like:
$.ajax({
url: "data.xml",
async: false,
d
Not yet, I think I am going to have to check to see if it is IE and use IE
specific code. I'll let you know what I come up with.
On 12/13/07, Bernd Matzner <[EMAIL PROTECTED]> wrote:
>
>
> Hi Benjamin,
>
> any progress on your xml loading problem in IE locally? I'll be
> fiddling with it some mor
Sadly we can't convert to json because the site is already built out and all
the code is using xpath. I am sure there is an easy way to convert the xml
doc to json and then make the changes to the code, but I don't think I can
get that cleared without putting on a song and dance.
On 12/12/07, B
Hi Benjamin,
any progress on your xml loading problem in IE locally? I'll be
fiddling with it some more tonight, so I'll let you know anything I
find out.
Bernd
Hi Benjamin,
I'm currently struggling with a similar error. Possibly the xml data
isn't transmitted as XML?
$.ajax({
type: 'GET',
url: xmlFile,
dataType: 'xml',
success: function(){},
error: function(x, s, e){}
});
If I use JSON, things are working nicely. Any chance to change your
xmlfile to j
Wondering if anyone has a solution for this?
On Dec 11, 9:49 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> Hey guys,
> I know I did this before with jQuery v1.1 where I was able to load an xml
> file in IE6/IE7 on a cd, but can't find the code I wrote. Currently I am
> doing the code belo
6 matches
Mail list logo