A shell command which can apply XDT transformations to XML files and evaluate variables in the XML..
- 资源大小:330.74 kB
- 上传时间:2021-06-30
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
资 源 简 介
Short description
This shell command lets you transform xml files with XDT (http://msdn.microsoft.com/en-us/library/dd465326.aspx). You may specify more than one XDT file, all of the XDT files will be processed in the given order.
In addition you may use variables in the form ${variablename} in the XML or XDT files. This variables will be evaluated prior to applying the transformation.
Long description
Perform XDT on Xml files and apply variables.
For a description of XDT see http://msdn.microsoft.com/en-us/library/dd465326.aspx
Syntax:
XdtCmd source dest -set var=value -loadvars file -transform file
Required parameters
source
This is the file that should be loaded and transformed.
dest
This is the filename of the resulting file.
Optional parameters
-set
The following parameters are treated as variable definitions. This parame
文 件 列 表
Examples
001-ReplaceVariablesInSource
002-MultipleTransformsMultipleVarFiles
003-IgnoreFileNotFoundException
004-VariablesOverride
005-RecursiveVariableEvaluation
001-ReplaceVariablesInSource
config.xml
example.bat
readme.txt
vars.xml
Autofac.Configuration.dll
Autofac.dll
Microsoft.Build.Framework.dll
Microsoft.Build.Utilities.v4.0.dll
Microsoft.Web.Publishing.Tasks.dll
MiP.Xml.Core.dll
MiP.XmlCmd.IoC.dll
MiP.XmlCmd.Shell.dll
XmlCmd.exe