FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

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

Xdt.transformFile inXmlFile transformFile outXmlFile

Full Usage: Xdt.transformFile inXmlFile transformFile outXmlFile

Parameters:
    inXmlFile : 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.

inXmlFile : string

The XML file to read

transformFile : string

The XML transformation file

outXmlFile : string

The output file

Xdt.transformFileWithConfigName configName xmlFile

Full Usage: Xdt.transformFileWithConfigName configName xmlFile

Parameters:
    configName : 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.

configName : string

The config name to insert

xmlFile : string

The XML file to transform

Xdt.transformFilesWithConfigName configName files

Full Usage: Xdt.transformFilesWithConfigName configName files

Parameters:
    configName : 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.

configName : string

The config name to insert

files : IGlobbingPattern

The set of XML files to transform