This is part of the Fake.DotNet.Xdt module.

Xdt

Contains functions used to transform config (or any XML) files using Microsoft's XML Document Transformations.

Functions and values

Function or valueDescription
Xdt.transformFile(...)
Signature: inXmlFile:string -> transformFile:string -> outXmlFile:string -> unit

Reads XML file (typically a config file), makes changes according to XDT transform syntax, saves result.

Xdt.transformFilesWithConfigName(...)
Signature: configName:string -> files:IGlobbingPattern -> unit

Modifies XML files in place using an XDT file named by inserting a .configName in between each filename and .extension.

Xdt.transformFileWithConfigName(...)
Signature: configName:string -> xmlFile:string -> unit

Modifies an XML file in place using an XDT file named by inserting a .configName in between the filename and .extension.