rem: return function(xml, attr) {    obj = xml; if (obj == undefined) { return kappa({_label:'None', '_value':({})}); 
add: return function(elem) { var result = []; for (var i=0; i<elem[0].childNodes.length; i++) { result.push(elem[0].childNodes[i].cloneNode(true));  
context:    return function(xml, attr) {   // FIXME: we need to straighten out the XML/XMLitem distinction.//     if (xml.length == 0 ) { return kappa({_label:'None', '_value':({})});}//      obj = xml[0];      obj = xml;      if (obj == undefined) {         return kappa({_label:'None', '_value':({})});       }      //  Take note!!!      if (attr == 'class') attr = 'className';      var val = obj[attr];      if (val == undefined) kappa({_label:'None', '_value':({})});      else kappa({'_label':'Some', '_value':val});   }
meta: 3248	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3248/1a8a0bb6ba8d6dad81d1f34956436743d27bb0b6/jslib.js/buggy/lib/js/jslib.js