summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/xsl/resources/dtd-in-source-document.xsl
blob: cf7df9c1781c80e2e98fd13efcfca64d73106f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        <xsl:output method="html" encoding="UTF-8" />
        <xsl:template match="/TEST">
            
<html>
<head>
    <script>
        if (window.layoutTestController)
            layoutTestController.dumpAsText();
    </script>
</head>
<body>
<div>This tests that entities defined in an external DTD referenced to from the source document are replaced correctly. 
If this test is successful, the text SUCCESS should be shown below.</div>
<div><xsl:value-of select="."/></div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>