summaryrefslogtreecommitdiff
path: root/tests/general/bug-33-.xsl
blob: 2cbf93af0134a1ea197981a03ba8bea198761713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" ?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

 <xsl:output method="html"/>

 <xsl:template match="/">
   <html>
     <head>
       <title><xsl:value-of select="exam/@name"/></title>
       <script>
	 <xsl:text disable-output-escaping="yes">&lt;</xsl:text>
	 funtion test() {
	   var a;
	   var b;

	   if (a &lt; b) { alert('Hello'); }
	 }

	 <xsl:text disable-output-escaping="yes">&lt;</xsl:text>
       </script>
     </head>
     <body bgcolor="white">
     </body>
   </html>
 </xsl:template>

</xsl:stylesheet>