Project

Profile

Help

Error XError, message: "Internal error: Target component ... » test201802180102.html

HTML document hosting Saxon-JS - Martin Honnen, 2018-02-19 15:31

 
1
<!DOCTYPE html>
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
    <head>
4
        <title>test</title>
5
            <script src="../../Saxon-JS-1.0.2/SaxonJS.min.js"></script>
6
            <script>
7
                    document.addEventListener(
8
                      'DOMContentLoaded',
9
                      function() {
10
                        SaxonJS.transform({
11
                          'stylesheetLocation' : 'test201802180102.sef',
12
                          'initialTemplate' : 'Q{http://www.w3.org/1999/XSL/Transform}initial-template'
13
                        });
14
                      },
15
                      false
16
                    );
17
            </script>
18
    </head>
19
    <body>
20
            <h1>Test</h1>
21
            <div id="div1"></div>
22
    </body>
23
</html>
(2-2/4)