2016-11-16 01:59:39 +01:00
|
|
|
// Generated by CoffeeScript 1.9.1
|
2016-11-03 01:33:53 +01:00
|
|
|
(function() {
|
2016-11-16 01:59:39 +01:00
|
|
|
var XMLBuilder, assign;
|
2016-11-03 01:33:53 +01:00
|
|
|
|
2016-11-16 01:59:39 +01:00
|
|
|
assign = require('lodash/assign');
|
2016-11-03 01:33:53 +01:00
|
|
|
|
2016-11-16 01:59:39 +01:00
|
|
|
XMLBuilder = require('./XMLBuilder');
|
2016-11-03 01:33:53 +01:00
|
|
|
|
|
|
|
module.exports.create = function(name, xmldec, doctype, options) {
|
|
|
|
options = assign({}, xmldec, doctype, options);
|
2016-11-16 01:59:39 +01:00
|
|
|
return new XMLBuilder(name, options).root();
|
2016-11-03 01:33:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}).call(this);
|