Jump to content

XSL not working properly on Chrome, IE and Safari


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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.