rem: var theQuery = "doc('" + theUri + "')"; 
add:  var theQuery = "(doc('" + theUri + "'), <" + g_cq_buffers_area_id + "/>)[1]"; 
context: function cqImport(theForm) {    // load the buffer state from the uri stored in g_cq_uri    var theUri = document.getElementById(g_cq_uri).value;    if (! theUri)        return;    var theQuery = "doc('" + theUri + "')";    var theOutput = getResultFrame();    debug.print("cqImport: " + theQuery);    // set the current database to null,    // so we save to the default db    var theDatabase = document.getElementById(g_cq_eval_list_id);    var oldDatabase = theDatabase.value;    theDatabase.value = null;    submitForm(theForm, theQuery, "text/xml");    theDatabase.value = oldDatabase;    // read the output    debug.print("setting import timeout to " + g_cq_timeout);    var theTimeout = setTimeout("finishImport();", g_cq_timeout);} // cqImport
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/80df44989b199bf06ecaf6b380ef0d6ae363df5b/cq.js/clean/cq.js