constructor : function(kwargs) {
this.fields = [];
- this.leader = '';
+ this.leader = '00000cam a2200205Ka 4500';
if (kwargs.delimiter) this.delimiter = kwargs.delimiter;
if (kwargs.onLoad) this.onLoad = kwargs.onLoad;
fromXmlDocument : function (mxml) {
var me = this;
- me.leader = dojox.xml.parser.textContent(dojo.query('leader', mxml)[0]) || '';
+ me.leader = dojox.xml.parser.textContent(dojo.query('leader', mxml)[0]) || '00000cam a2200205Ka 4500';
dojo.forEach( dojo.query('controlfield', mxml), function (cf) {
me.fields.push(
// skip comment lines
} else if (isControlField(current_line)) {
if (line_tag(current_line) == 'LDR') {
- me.leader = cf_line_data(current_line) || '';
+ me.leader = cf_line_data(current_line) || '00000cam a2200205Ka 4500';
} else {
me.fields.push(
new MARC.Field({