Jump to content

XML, XSLT and Chrome


RikyTres

Recommended Posts

Posted

Hi everyone! I need help for transforming XML in to XHTML using XSLT. I can do everything i need in XSLT and it works on every Browser except in Google Chrome. I read that this is not a strange thing... Google do this intentionally for keep hight security level... Is this true?Are there something that I can do for resolve this problem?

Posted

Well you haven't really told us in what way Chrome fails? Have you checked its error console for messages telling you what is wrong? As far as I remember loading from the file system is a problem so you need to make sure you load your XML and XSLT over HTTP. There is however a command line switch to start Chrome with lowered security settings so that a file (like an XML document) can load another file (like its stylesheet) from the file system, see http://peter.sh/experiments/chromium-command-line-switches/ and the switch --allow-file-access-from-files. See also http://www.chromium.org/developers/how-tos/run-chromium-with-flags.

Archived

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

×
×
  • Create New...