Jump to content

XSL not working properly on Chrome, IE and Safari


bluejay002

Recommended Posts

I have been studying XSLT, specifically on client-side transformation. It works fine with Firefox and Opera but not with Google Chrome, Internet Explorer and Safari.

 

Here are the errors I got with Google Chrome:

 

Uncaught TypeError: Object #<a Document> has no method 'load'

 

Here are the errors I got on Internet Explorer:

 

The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.

 

My XML and XSL were well-formed as far as I know, I copied it from w3schools where I used as my reference. What do you think could be the problem guys? Thanks in advance.

Okay... I got the IE thing. I think the trouble is with the mark appended over the file whenever BOM is used. Still, Google Chrome is not behaving well. Any idea of work around on this thing? I am thinking its some kind of a bug on Google Chrome but am not just sure at the moment.

 

Thanks in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.