Jump to content

XML, XSLT and Chrome


RikyTres

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...