Xdt

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

Nested types and modules

TypeDescription
FakeXmlTransformationLogger

Integrates XDT logging into FAKE logging.

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.

Xdt.xdtTag
Signature: KnownTags