rem: BX_xmlfile = BX_config_getContent("/config/files/input/file[@name='BX_xmlfile']"); var BX_xmlfile_method = BX_config_getContent("/config/files/input/file[@name='BX_xmlfile']/@method"); 
add: BX_xslViewSource = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xslViewSourceFile']"); /* not implemented yet */  
context: function BX_init(){    BX_schema_init();    BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']");    var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method");    BX_xsltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xsltransformfile']");    var BX_xsltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xsltransformfile']/@method");	    BX_xmltransformbackfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformbackfile']");    var BX_xmltransformbackfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformbackfile']/@method");    BX_xslViewSourceFile = BX_config_getContent("/config/files/transform/file[@name='BX_xslViewSourceFile']");/* not implemented yet *///    var BX_xslViewSourceFile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xslViewSourceFile']/@method");    BX_xmlfile = BX_config_getContent("/config/files/input/file[@name='BX_xmlfile']");    var BX_xmlfile_method = BX_config_getContent("/config/files/input/file[@name='BX_xmlfile']/@method");    BX_xslfile = BX_config_getContent("/config/files/input/file[@name='BX_xslfile']");    var BX_xslfile_method = BX_config_getContent("/config/files/input/file[@name='BX_xslfile']/@method");    BX_posturl = BX_config_getContent("/config/files/output/file[@name='BX_posturl']");	// there is no var here as we need this info later    BX_posturl_method = BX_config_getContent("/config/files/output/file[@name='BX_posturl']/@method");    var node;    var options = BX_config_getNodes("/config/options/option");    while (node = options.iterateNext())    {        if (node.firstChild)        {            eval(node.getAttribute("name") + " = " + node.firstChild.data + "");        }        else        {            eval(node.getAttribute("name") + " = ''");        }    }    BX_init_page();    BX_init_buttonBar();    BX_infobar = document.getElementById("BX_infobar");    BX_infotext = document.getElementById("BX_infotext");    BX_infotext2 = document.getElementById("BX_infotext2");    BX_infoerror = document.getElementById("BX_infoerror");    BX_infoerror_timeout = false;    BX_init_adjustButtonbar();    window.onresize = BX_init_adjustButtonbar;    BX_xml = BX_load_document(BX_xmlfile,BX_xmlfile_method);    BX_xsl = BX_load_document(BX_xslfile,BX_xslfile_method);    BX_xmlTR = BX_load_document(BX_xmltransformfile,BX_xmltransformfile_method);    BX_xslTR = BX_load_document(BX_xsltransformfile,BX_xsltransformfile_method);    BX_xmlTRBack = BX_load_document(BX_xmltransformbackfile,BX_xmltransformbackfile_method);    BX_transformLocation =  document.getElementById("transformLocation");    BX_xsltProcessor = new XSLTProcessor();    document.getElementsByNameAndAttribute = getElementsByNameAndAttribute;    BX_xml.getElementById = BX_getElementById;    //temporary ranges. to be used in some functions    /* it is used in BX_insertContent(), so instead of creating it    * everytime we insert content, just do it once here     */    BX_tmp_r1 = document.createRange();    BX_tmp_r2 = document.createRange();    BX_popup = document.getElementById("BX_popup");}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/23e4752e13536f63516c1ece4dd47e95e4cd7f52/bitfluxeditor_core.js/clean/src/webapp/lenya/resources/misc/bitflux/bxe/js/bitfluxeditor_core.js