Can Chrome be made to perform an XSL transform on a local file?

The short answer is “No, use one of the diverse set of browsers out there”.

The reason this doesn’t work is due to a security concern that Chrome has addressed in a controversial way[1][2][3][4], by blocking XML files from accessing local XSLT files in the same directory, while HTML files can access .CSS files in the same directory just fine.

Across the issues cited above, users have asked for a clearer error message (since the domains, protocols and ports do in fact match), or at least displaying the XML without the styling. Chrome developers have ignored these requests.

Leave a Comment