I want to hide xml files. How can i hide them from showing up as download just like pdf files. I cant delete them and i have to upload them so that it can be shown as html files.
I’m not sure what your file storage model is like, but perhaps it’s worth looking at the Lens Viewer plugin to see how it formats and presents XML files? It might be able to adapt that to e.g. transform XML to HTML on request, but also to store a cached version to ease the server requirements.
Alternately, you might be able to store the XML in the Layout Ready area instead of as a Galley, and then have your transformation generate the Galley.
Public Knowledge Project Team