1

I have an XML file (generated by WCAT load testing tool) that has a referenced XSL file.

But how do I view it? The XML must be transformed by the XSL, but apart from writing some code, is there not a tool that just 'views' XML like this?

Update

I have the (expensive) Oxygene installed, but it cannot do the transform due to errors in Microsoft's report.xsl

Variable rowId has not been declared. Variable state has not been declared.

So this is probably why it failed in IE11, which I thought was supposed to be the standard viewer for XML + XSL on Windows.

Luke Puplett
  • 42,091
  • 47
  • 181
  • 266
  • I have corrected the xsl file myself, see my answer here: http://stackoverflow.com/a/36764465/986419 – Inc33 Apr 21 '16 at 08:52

1 Answers1

1

Add

<?xml-stylesheet type="text/xsl" href="{location of the xslt}"?>

processing instruction to the xml file before the root element.

Hope this helps,

Marvin Smit
  • 4,088
  • 1
  • 22
  • 21
  • I've +1 this because its right and useful, but I wasn't clear. This is already in the XML, I just can't view the final product. – Luke Puplett Nov 14 '13 at 09:33
  • Does you local machine have access to the "{location of the xslt}"? can you load the "{location of the xslt}" directly into your browser? Might be an location or access issue. – Marvin Smit Nov 14 '13 at 12:10
  • Yeah its right alongside the XML file, locally, so it should be trusted. There's a Compatibility Mode workaround for IE9, but that's old. There seems to be no way to easily view a transformed XML file on Windows today. – Luke Puplett Nov 15 '13 at 14:15