Using PowerShell to convert XML to HTML -
i have xml file: <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type='text/xsl' href='file:///c:/program%20files/application/log_format.xsl'?> <!doctype log [<!entity data system 'data/20130408.dat'>]> <log xmlns="runtime:log">&data;</log> the xsl file transforms html. can't open file in ie fine , view expected results. via powershell script convert in plain html. how go that? this blog entry has code snippet should work. uses system.xml.xsl.xslcompiledtransform .net class xsl transformation. rest getting input , displaying output. this comment, guess i'll make answer it's easier other people searching solution.