I've applied a stylesheet to an xml document using <?xsl-stylesheet ...>
, this works great when the XML is being viewed in my application. But if the xml is exported, I want the XML to still render as plain XML, is it possible to have the stylesheet as optional rather than it producing this error when style is not found:
Error loading stylesheet: A network error occured loading an XSLT stylesheet: