root / trunk / tests / test_dojo.xsl

Revision 3253, 0.9 kB (checked in by alex, 3 years ago)

a couple of workarounds

Line 
1<?xml version="1.0"?>
2        <xsl:stylesheet 
3        xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4
5        <xsl:output method="html" omit-xml-declaration="yes"
6        doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
7        doctype-system="http://www.w3.org/TR/html4/loose.dtd" encoding="ISO-8859-1"/>
8
9        <xsl:template match="index">
10                <html>
11                        <head>
12                                <!--
13                                pointing at the dojo.js directly only works if it's from a build
14                                <script src="../dojo.js" type="text/javascript"></script>
15                                -->
16                                <!--
17                                manually including the bootstraps works fine
18                                -->
19                                <script src="../src/bootstrap1.js" type="text/javascript"></script>
20                                <script src="../src/hostenv_browser.js" type="text/javascript"></script>
21                                <script src="../src/bootstrap2.js" type="text/javascript"></script>
22                        </head>
23                        <body>
24                                this is content
25                        </body>
26                </html>
27        </xsl:template>
28</xsl:stylesheet>
Note: See TracBrowser for help on using the browser.