00001 // Generated by CoffeeScript 1.9.1 00002 (function() { 00003 var XMLBuilder, assign; 00004 00005 assign = require('lodash/assign'); 00006 00007 XMLBuilder = require('./XMLBuilder'); 00008 00009 module.exports.create = function(name, xmldec, doctype, options) { 00010 options = assign({}, xmldec, doctype, options); 00011 return new XMLBuilder(name, options).root(); 00012 }; 00013 00014 }).call(this);