context: function eventArrayToXCS( calendarEventArray ){   var xmlDoc = getXmlDocument( calendarEventArray );   var xcsDoc = transformXML( xmlDoc, "xml2xcs.xsl" );   // add the doctype/* Doctype uri blocks excel import   var newdoctype = xcsDoc.implementation.createDocumentType(       "iCalendar",        "-//IETF//DTD XCAL//iCalendar XML//EN",       "http://www.ietf.org/internet-drafts/draft-ietf-calsch-many-xcal-02.txt");   if (newdoctype)      xcsDoc.insertBefore(newdoctype, xcsDoc.firstChild);*/   var serializer = new XMLSerializer;   // XXX MAJOR UGLY HACK!! Serializer doesn't insert XML Declaration   // http://bugzilla.mozilla.org/show_bug.cgi?id=63558   var serialDocument = serializer.serializeToString ( xcsDoc );   if( serialDocument.indexOf( "<?xml" ) == -1 )      serialDocument = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + serialDocument;   return serialDocument;   // return serializer.serializeToString ( xcsDoc )}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/3a988e91da0018285403052b99c8aa46f194e3e5/calendarImportExport.js/clean/calendar/resources/content/calendarImportExport.js