forked from JustinPealing/html-query-plan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qp_page.xslt
27 lines (26 loc) · 1.06 KB
/
qp_page.xslt
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
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:s="http://schemas.microsoft.com/sqlserver/2004/07/showplan"
exclude-result-prefixes="msxsl s xsl">
<xsl:output method="html" indent="no"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" />
<xsl:include href="qp.xslt" />
<xsl:template match="/">
<html>
<head>
<title>Execution plan</title>
<link rel="stylesheet" type="text/css" href="qp.css" />
<script src="jquery.min.js" type="text/javascript"></script>
<script src="qp.js" type="text/javascript"></script>
<script type="text/javascript">$(document).ready( function() { QP.drawLines(); });</script>
</head>
<body>
<div>
<xsl:apply-templates select="s:ShowPlanXML" />
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>