Hi all,Our site allow users to download xml files. But when we click on the xml download button, it goes to a page that says: This XML file does not appear to have any style information associated with it. The document tree is shown below.Is there a way to fix it? Thanks.
Browser needs style to show XML in styled format, it is normal. If you want to show XML nicely, you need customize the ExportXML class to provide XSL file also. Also see Customizing Export on how to customize an export class.
Thanks.Is there a way to make it download the xml file instead of showing on the browser when users click on the “XML” button?
You may customize the ExportXml class and change the HTTP header to add the Content-Disposition and add the file name. Also see Customzing Export.
Thanks.