I realise that I will probably regret asking about this for the rest of my life, but... Is there some way of applying XSLT to an XML file without the XML file havin
Responding to the OP's edit requirement to pick different XSLTs from the browser.
I didn't do any investigating before answering, but way back when IE was the only practical game in town, I remember there was a default CSS that got applied to XML files in the browser. Since CSS and XSLT files are specified in documents with a processing instruction, might there be some way through plugins/extensions to arbitrarily override the browser's default stylesheet - assuming other browsers handle this in a similar way?
Or might there be a way to dynamically add the processing instruction to the document and refresh?