xdt

Transforms XMLs files using the XDT standard

Nick Adcock

zappyshu

5,503 downloads

5,217 latest version

5.0 quality score

Version information

  • 0.2.1 (latest)
  • 0.2.0
  • 0.1.0
released Sep 14th 2017
This version is compatible with:
  • windows

Start using this module

Tags: xml, xdt

Documentation

zappyshu/xdt — version 0.2.1 Sep 14th 2017

xdt

Table of Contents

  1. Description
  2. Reference
  3. Notes

Description

Transforms XMLs files using the XDT standard: https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx

Reference

xdt_file

Transforms a source file with a transform and saves to a destination file

xdt_file { 'C:/transforms/transformed.xml':
    ensure => present,
    source_file => 'C:/transforms/source.xml',
    transform_file => 'C:/transforms/transform.xml',
}

Properties/Parameters

ensure

If 'present' is specified, will ensure the destination file exists with the transformed contents. If 'absent' is specified, will ensure the destination file does not exist.

destination_file

The absolute path to the destination file containing the transformed XML. Defaults to the resource name.

source_file

The absolute path to the file containing the XML to transform.

transform_file

The absolute path to the file containing the transforms.

Notes

Though this module has only been tested on Windows, it uses no Windows specific implementations and should therefore work on other operating systems. Use at your own risk.