Launch XSLT Conversion in TeamCity

Is there a built-in way to run XSLT conversion in TeamCity? Preferably, as an assembly step. Since I still haven't found anything in the docs, I'm not too sure about this feature, however, maybe someone already integrated the XSLT transform in the past.

+4
source share
3 answers

No, teamcity does not have an XSLT trasform runner. However, you can use below powershell script to convert.

$xslt = new-object system.xml.xsl.xslcompiledtransform
$xslt.load('D:\SampleTransform.xsl')
$xslt.Transform('D:\Input.xml', 'D:\Output.xml')
+4
source

TeamCity does not have a dedicated XSLT running transformer.

Ant " " . :

 <project default="MyXSLT">
  <target name="MyXSLT">
    <xslt in="MyInput.xml" 
      out="MyOutput.xml"
      style="MyTransform.xslt">
    </xslt>
  </target>
</project>

, -. .

+2

Try xslt runner

This is a simple runner, like the command line, but it comes bundled with msxsl.exe. Therefore, there is no need to install it on an agent.

0
source

All Articles