t1st3 / grunt-muxml

An XML parsing and formatting plugin for Grunt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grunt-muxml Build Status Travis Coverage Status

An XML parsing and formatting plugin for Grunt

Thin wrapper around muxml to make it a Grunt plugin.

Also available as a gulp plugin.

Install

$ npm install --save-dev grunt-muxml

Usage

'use strict';
module.exports = function (grunt) {
	grunt.initConfig({
		muxml: {
			dist: {
				files: [{
					expand: false,
					cwd: 'fixtures/',
					src: '*initial.xml',
					dest: 'tmp/'
				}],
				options: {
					strict: true
				}
			}
		}
	});

	grunt.loadNpmTasks('grunt-muxml');

	grunt.registerTask('default', [
		'muxml'
	]);
};

Options

See muxml's options, which are all supported.

Related

License

MIT © t1st3

About

An XML parsing and formatting plugin for Grunt

License:MIT License


Languages

Language:JavaScript 100.0%