Xdt Module
Contains functions used to transform config (or any XML) files using Microsoft's XML Document Transformations.
Functions and values
Function or value | Description |
Full Usage:
Xdt.transformFile inXmlFile transformFile outXmlFile
Parameters:
string
-
The XML file to read
transformFile : string
-
The XML transformation file
outXmlFile : string
-
The output file
|
Reads XML file (typically a config file), makes changes according to XDT transform syntax, saves result.
|
Full Usage:
Xdt.transformFileWithConfigName configName xmlFile
Parameters:
string
-
The config name to insert
xmlFile : string
-
The XML file to transform
|
Modifies an XML file in place using an XDT file named by inserting a .configName in between the filename and .extension.
|
Full Usage:
Xdt.transformFilesWithConfigName configName files
Parameters:
string
-
The config name to insert
files : IGlobbingPattern
-
The set of XML files to transform
|
Modifies XML files in place using an XDT file named by inserting a .configName in between each filename and .extension.
|