Page 1 of 1

XML with XSl style sheet

Posted: Mon Dec 21, 2020 6:05 am
by Piotr D
Hi,

I am using IE ActiveX to display XML files with an XSL stylesheet. But sometimes IE refuses to display due to its security. Do you know a library that will allow you to display XML from XSL without using IE?

Regards
Piotr

Re: XML with XSl style sheet

Posted: Mon Dec 21, 2020 8:10 am
by rdonnay
When you say IE ActiveX are you referring to xbpHtmlViewer?

Are you saying that the style sheet is what is causing the security problem or is it the XML file?

Do you get the same security issue if you display the XML with the web browser instead of the Active X control.

Re: XML with XSl style sheet

Posted: Mon Dec 21, 2020 10:25 am
by Piotr D
Hi Roger,
yes, I use XbpHtmlViever, the problem occurs only when I add line with stylesheet. And when I open directly with Internet Explorer is the same.
The XML file and XLST file are correct, on another computer the file is displayed with visualisation. The XML and XSLT files are on the same directory.

Regards
Piotr

Re: XML with XSl style sheet

Posted: Mon Dec 21, 2020 2:23 pm
by Auge_Ohr
hi,
Piotr D wrote: Mon Dec 21, 2020 10:25 am yes, I use XbpHtmlViever, the problem occurs only when I add line with stylesheet. And when I open directly with Internet Explorer is the same.
HtmlViewer() CLASS is based on ieframe.dll Webbrowser which was used by IE which is Obsolet
try COM Interface "MSXML2.ServerXMLHTTP"