Continuing the series of Powershell snippets, here’s how to apply a xslt file to a xml file:
$xslt = New-Object System.Xml.Xsl.XslCompiledTransform
$xslt.Load("MyTransform.xsl")
$xslt.Transform("MyXMLFile.xml","MyOutput.WhatEver")
Continuing the series of Powershell snippets, here’s how to apply a xslt file to a xml file:
$xslt = New-Object System.Xml.Xsl.XslCompiledTransform
$xslt.Load("MyTransform.xsl")
$xslt.Transform("MyXMLFile.xml","MyOutput.WhatEver")