Subject: Re: [xsl] Not able to render XML in Chrome browser From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 26 May 2022 15:49:40 -0000 |
Am 26.05.2022 um 17:14 schrieb Joga Singh Rawat jrawat@xxxxxxxxxxxxxx: > > > I am not able to render XML directly in Chrome. At the same time it is > working fine with IE, Edge and Firefox. > What does "directly" mean exactly, are you loading the file over HTTP(S) or from the file system? Chrome is known not support XSLT referenced with xml-stylesheet in an XML document loaded from the local file system. Check F12/developer console, it should show a security warning/error message with details. Or, if it is not the security issue, it hopefully indicates what failed. Note that Edge is als Chromium based these days and should show the same problem; Firefox as well has been adapted to prevent the file based loading. > a.xml > > <?xml version="1.0" encoding="UTF-8"?> > > <?xml-stylesheet type="text/xsl" href="myxsl.xsl"?> > > <doc> > > b& > > </doc>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Not able to render XML in, Peter Flynn peter@xx | Thread | Re: [xsl] Not able to render XML in, Joga Singh Rawat jra |
Re: [xsl] Not able to render XML in, Peter Flynn peter@xx | Date | Re: [xsl] Not able to render XML in, Joga Singh Rawat jra |
Month |