I'm trying to write a bookmarklet to help some QA testers submit useful debugging information when they come across issues. Currently I can set window.location to a URL that provides this debugging information, but this resource is an XML document with an xml-stylesheet processing directive.
It would actually be more convenient if the testers were able to see either the raw XML data as plain text, or the default XML rendering for IE and Firefox.
Does anyone know a way to disable or override xml-stylesheet directives provided inside an XML document, using Internet Explorer or Firefox?
Edit: I've opened a bounty on this question. Requirements:
- Client-side code only, no user intervention allowed
- Solutions for both IE and Firefox needed (they can be different solutions)
- Disabling stylesheet processing and rendering it as text is acceptable
- Overriding stylesheet processing with a custom XSL is acceptable
- Rendering the XML with the browser default XML stylesheet is acceptable