Jump to content

XML, XSLT and Chrome


Recommended Posts

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?

Link to post
Share on other sites

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.

Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...