summaryrefslogtreecommitdiff
path: root/impact.xsl
diff options
context:
space:
mode:
authorMichael Abed <michaelabed@gmail.com>2012-02-16 15:46:19 -0500
committerMichael Abed <michaelabed@gmail.com>2012-02-16 15:46:19 -0500
commit57738e75e221fe61a8f87270b430c0f1c0b8ead5 (patch)
tree8ace7cfb1f8b7330e45dad06e4a21efeb2cadd64 /impact.xsl
downloadec311-lab1-57738e75e221fe61a8f87270b430c0f1c0b8ead5.tar.gz
ec311-lab1-57738e75e221fe61a8f87270b430c0f1c0b8ead5.tar.bz2
ec311-lab1-57738e75e221fe61a8f87270b430c0f1c0b8ead5.zip
initial commit
Diffstat (limited to 'impact.xsl')
-rwxr-xr-ximpact.xsl55
1 files changed, 55 insertions, 0 deletions
diff --git a/impact.xsl b/impact.xsl
new file mode 100755
index 0000000..e4999d7
--- /dev/null
+++ b/impact.xsl
@@ -0,0 +1,55 @@
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:output method="html"/>
+
+ <xsl:template match="/">
+<b>
+ <xsl:text>Current iMPACT Usage Statistics.</xsl:text>
+ <br></br>
+ <xsl:text>Copyright (c) 1995-2010 Xilinx, Inc. All rights reserved.</xsl:text>
+</b>
+ <br></br>
+ <br></br>
+ <xsl:text>This page displays the current iMPACT device usage statistics that will be sent to Xilinx using WebTalk.</xsl:text>
+
+<table width = "100%" border="1" CELLSPACING="0" cols="50% 50%">
+ <xsl:for-each select="document/application/section">
+<tr>
+<th COLSPAN="2" BGCOLOR="#99CCFF"><xsl:value-of select="@name"/></th>
+
+</tr>
+ <xsl:for-each select="property">
+<tr>
+ <td><xsl:value-of select="@name"/></td>
+
+ <td><xsl:value-of select="@value"/></td>
+</tr>
+
+
+ </xsl:for-each>
+
+ <xsl:for-each select="item">
+<tr>
+ <td COLSPAN="2" BGCOLOR="#FFFF99"><b><xsl:value-of select="@name"/></b></td>
+</tr>
+ <xsl:value-of select="@value"/>
+ <xsl:for-each select="property">
+<tr>
+ <td><xsl:value-of select="@name"/></td>
+ <td><xsl:value-of select="@value"/>&#x20;</td>
+</tr>
+
+ </xsl:for-each>
+
+ </xsl:for-each>
+ </xsl:for-each>
+</table>
+ </xsl:template>
+
+</xsl:stylesheet>
+
+ <!--
+ <xsl:if test="position() != last()"> <h1><xsl:text> </xsl:text></h1></xsl:if>
+ -->