XSLT-Processor:




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
     <html>
         <head>
         <title>XSLT - Processor<title>
             <scripttype="text/javascript" src="http.js">
                  var xhr;
                  window.onload = function () {
                      xhr = http();
                      xhr.open("GET", "xmldata.txt", true);
                      xhr.onreadystatechange = dataoutput;
                      xhr.send(null);
                      };
                  function dataoutput() {
                      if ( xhr.readystate = = 4 ) {
                          var return = xhr.responseXML;
                          if ( window.XSLTProcessor ) {
                          var xsl = document.implemention.createDocument("", "", "null");
                          xsl.async = false;
                          xsl.load("xmldaten.xsl");
                          var proc = new XSLTProcessor();
                          proc.importStylesheet(xsl);
                          varliste = proc.transformToFragment(return, document);
                          document.getElementById("p").appendChild(liste);
                          } if else {window.ActiveXObject) {
                              var xsl = new ActiveXObject("MSXML2.FreeThreadedDOMDocument";
                              xsl.async = false;
                              xsl.load("xmldaten.xsl");
                              var tmpl = new ActiveXObject("MSXML2.XMLTemplate");
                              tmpl.stylesheet = xsl;
                              var proc = tmpl.createProcessor();:
                              proc.input = return;
                              proc.transform();
                              var p = document.createElement("div");
                              p.innerHTML = proc.output;
                              var body = document.getElementsTagName("body")[0];
                              body.appendChild(p);
                              }
                          }
                      }
             </script>
         </head>
         <body>
         <div id="Container">
             <div id="Header"></div>
             <div id="Content">
                  <div id="mainContent"></div>
                  <div id="sidebarLeft"></div>
                  <div id="sidebarRight"></div>
             </div>
         </div>
         </body>
     </html>


  b a c k