summaryrefslogtreecommitdiff
path: root/test_report.xsl
diff options
context:
space:
mode:
authorMyoungJune Park <mj2004.park@samsung.com>2015-06-13 23:00:45 +0900
committerMyoungJune Park <mj2004.park@samsung.com>2015-06-13 23:10:23 +0900
commitf2f6df284292157516ba53409d28da12ec01ae6f (patch)
treef092aad06425df6235d16e743b2edcf53b39b948 /test_report.xsl
parent1e0013b38dd62249e1ef3e2330f62c109875ce94 (diff)
downloadvconf-internal-keys-f2f6df284292157516ba53409d28da12ec01ae6f.tar.gz
vconf-internal-keys-f2f6df284292157516ba53409d28da12ec01ae6f.tar.bz2
vconf-internal-keys-f2f6df284292157516ba53409d28da12ec01ae6f.zip
add initial code : vconf-internal-keys
- migrated from tizen2.4 - adopt XML based configuration tool - there's the keys for platform feature only. - Tizen Coding rule check : DONE Change-Id: I8d20e9139521e594e1a489bbb9d32b5d6c37782e Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
Diffstat (limited to 'test_report.xsl')
-rw-r--r--test_report.xsl59
1 files changed, 59 insertions, 0 deletions
diff --git a/test_report.xsl b/test_report.xsl
new file mode 100644
index 0000000..bf7d380
--- /dev/null
+++ b/test_report.xsl
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template match="/">
+<html>
+<head>
+ <title> Vconf key list </title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+</head>
+ <body>
+ <H1> vconf key list</H1>
+ <table border="1" style="border-collapse:collapse; border:1px gray solid;">
+ <tr>
+ <td bgcolor="yellow" align="center"> ID </td>
+ <td bgcolor="yellow" align="center"> Keyname </td>
+ <td bgcolor="yellow" align="center"> Type </td>
+ <td bgcolor="yellow" align="center"> Value </td>
+ <td bgcolor="yellow" align="center"> Smack Label </td>
+ <td bgcolor="yellow" align="center"> Maintainer </td>
+ <td bgcolor="yellow" align="center"> Comment </td>
+ <td bgcolor="yellow" align="center"> Header Only </td>
+ <td bgcolor="yellow" align="center"> Private Spec </td>
+ </tr>
+ <xsl:apply-templates/>
+ </table>
+ </body>
+ </html>
+</xsl:template>
+<xsl:template match="vconfkey">
+ <tr>
+ <xsl:variable name="hyperlink"><xsl:value-of select="./header"/></xsl:variable>
+ <td> <a href="../fullsearch/{$hyperlink}-result.txt"><xsl:value-of select="./header"/></a> </td>
+ <td> <xsl:value-of select="./@name"/> </td>
+ <td> <xsl:value-of select="./@type"/> </td>
+ <td> <xsl:value-of select="./@value"/> </td>
+ <td> <xsl:value-of select="./@label"/> </td>
+ <td> <xsl:value-of select="./creator"/> </td>
+ <td> <xsl:value-of select="./comment"/> </td>
+<xsl:choose>
+ <xsl:when test="@headeronly">
+ <td bgcolor="red" align="center"> <xsl:value-of select="./@headeronly"/> </td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td bgcolor="green" align="center"> <xsl:value-of select="./@headeronly"/> </td>
+ </xsl:otherwise>
+</xsl:choose>
+<xsl:choose>
+ <xsl:when test="@private_spec">
+ <td bgcolor="red" align="center"> <xsl:value-of select="./@private_spec"/> </td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td bgcolor="green" align="center"> <xsl:value-of select="./@private_spec"/> </td>
+ </xsl:otherwise>
+</xsl:choose>
+
+ </tr>
+</xsl:template>
+</xsl:stylesheet>