// Generated by CoffeeScript 1.12.7(function(){varXMLDTDElement,XMLNode,extend=function(child,parent){for(varkeyinparent){if(hasProp.call(parent,key))child[key]=parent[key];}functionctor(){this.constructor=child;}ctor.prototype=parent.prototype;child.prototype=newctor();child.__super__=parent.prototype;returnchild;},hasProp={}.hasOwnProperty;XMLNode=require('./XMLNode');module.exports=XMLDTDElement=(function(superClass){extend(XMLDTDElement,superClass);functionXMLDTDElement(parent,name,value){XMLDTDElement.__super__.constructor.call(this,parent);if(name==null){thrownewError("Missing DTD element name");}if(!value){value='(#PCDATA)';}if(Array.isArray(value)){value='('+value.join(',')+')';}this.name=this.stringify.eleName(name);this.value=this.stringify.dtdElementValue(value);}XMLDTDElement.prototype.toString=function(options){returnthis.options.writer.set(options).dtdElement(this);};returnXMLDTDElement;})(XMLNode);}).call(this);