We are having the XMLs. We need to show this as HTML while viewing document from browser.
We have implemeted it such that DTD is invked from XML file and DTD internally calls the XSL file.
This was working fine in upto IE 8. But it is not working in IE9 and IE 10. We have implemented like as shown below:
XML File: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE RECORD SYSTEM "file:C:/Users/nc4716/Viewed/ABC_XML/ABC_XML.dtd">
If we include the below line directly in XML :
<?xml-stylesheet type="text/xsl" href="http://<SERVER_HOST>:5080/myapp/custom/ABC_XML.xsl"?>
But we need to chnage all the XMLs for this which is not possible.
Please suggest . Thanks in advance
How is it not working in IE9 and IE10? Blank screen or what?
Does it work in Firefox or Chrome?
Joined: Aug 13, 2014
It is just opening as XML in IE9,IE 10 ,Mozila and Chrome but working fine upto IE8.
I also tried to make some errors in DTD file and still it is opening XML file as XML .
That means IE 9 and IE 10 are not even reading the line <!DOCTYPE RECORD SYSTEM "file:C:/Users/nc4716/Viewed/ABC_XML/ABC_XML.dtd"> .