Is there any built-in way to run an XSLT transformation on TeamCity? Preferably, as a build step. As I have not found anything in the docs so far, I'm not too confident about that feature, however, maybe somebody already integrated an XSLT transformation in the past.
No, teamcity doesn't have an XSLT trasform runner. However you could use below powershell script to transform.
$xslt = new-object system.xml.xsl.xslcompiledtransform
$xslt.load('D:\SampleTransform.xsl')
$xslt.Transform('D:\Input.xml', 'D:\Output.xml')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With