mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
336 B
17 lines
336 B
[CmdletBinding()]
|
|
Param(
|
|
[Parameter(Mandatory=$True,Position=1)]
|
|
[string]$xsl,
|
|
|
|
[Parameter(Mandatory=$True)]
|
|
[string]$xml,
|
|
|
|
[Parameter(Mandatory=$True)]
|
|
[string]$output
|
|
)
|
|
|
|
$xslt = New-Object System.Xml.Xsl.XslCompiledTransform;
|
|
$xslt.Load($xsl);
|
|
$xslt.Transform($xml, $output);
|
|
|
|
Write-Host "The file has been transformed."
|
|
|