rem: var dynamicStateElement = request.getElementsByTagName("xxforms:dynamic-state")[0]; dynamicStateElement.appendChild(dynamicStateElement.ownerDocument.createTextNode(target.form.xformsDynamicState.value)); 
add: var requestElements = request.documentElement.childNodes; for (var i = 0; i < requestElements.length; i++) { if (requestElements[i].tagName.indexOf("dynamic-state") != -1) { var dynamicStateElement = requestElements[i]; dynamicStateElement.appendChild(dynamicStateElement.ownerDocument.createTextNode (target.form.xformsDynamicState.value)); } } 
context: function xformsExecuteNextRequest() {    if (! document.xformsRequestInProgress) {        if (document.xformsNextRequests.length > 0) {            // Get next request            var request = document.xformsNextRequests.shift();            var target = document.xformsNextTargets.shift();                        // Mark this as loading            document.xformsRequestInProgress = true;            xformsDisplayLoading(target.form, "loading");                        // Set the value of the dynamic-state in the request            var dynamicStateElement = request.getElementsByTagName("xxforms:dynamic-state")[0];            dynamicStateElement.appendChild(dynamicStateElement.ownerDocument.createTextNode(target.form.xformsDynamicState.value));                        // Send request            document.xformsTargetOfCurrentRequest = target;            document.xformsXMLHttpRequest = new XMLHttpRequest();            document.xformsXMLHttpRequest.open("POST", XFORMS_SERVER_URL, true);            document.xformsXMLHttpRequest.onreadystatechange = xformsHandleResponse;            document.xformsXMLHttpRequest.send(request);            foundRequest = true;        }    }}
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7801/d266dbb2be8a6ccf60015314f2d6941f51aceb9d/xforms.js/clean/src/examples/web/oxf-theme/javascript/xforms.js