I have checked with F12/ developer console, it is showing security warning. But
it is working fine with other Browser except Chrome.
From: Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de
[mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: 26 May 2022 21:20
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Not able to render XML in Chrome browser
Am 26.05.2022 um 17:14 schrieb Joga Singh Rawat
jrawat(_at_)aptaracorp(_dot_)com:
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>
…
</doc>
Click here
<https://www.mailcontrol.com/sr/7INuM7BMyRzGX2PQPOmvUjtCsM7hsYEDHrkyeicvlFCE69z7EJBc_rnnScHOaWqArnKxz9-89lrX0F9OzBqmnw==>
to report this email as spam.
XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/876847> (by
email <> )
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--