ClipMacro › 일취월장-하는것이힘이다 › Xubuntu › 원격로그서버구축 › 삼성블루투스키보드트리오500Xubuntu에서페어링 › xsl적용하기.js
function doXSLT() { if(xmlDoc==null || xslDoc==null) return; var msg_id = document.getElementById("msg_id"); if(window.ActiveXObject){ msg_id.innerHTML = xmlDoc.trasformNode(xslDoc); } else{ var xsltProc = new XSLTProcessor(); xsltProc.importStylesheet(xslDoc); var fragment = xsltProc.transformToFragment(xmlDoc, document); msg_id.appendChild(fragment); } }