summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2014-10-29 14:00:55 -0500
committerBrian Silver <bsilver@us.ibm.com>2014-10-31 11:00:18 -0500
commit377c476bc4120800624403bd359dbf332e9206e6 (patch)
tree3f95a3e3d02eeecefd27021dd749d6acdf2bf757 /xslt
parentcb1a389b34ef2506c84bdf51d16091d0e5b2772b (diff)
downloadcommon-op-xml-377c476bc4120800624403bd359dbf332e9206e6.tar.gz
common-op-xml-377c476bc4120800624403bd359dbf332e9206e6.zip
Create stylesheet to make processor->APSS SPI bus HTML.
Added missing I2C LIGHTPAD connection to SCM, for board VPD and TPM. Added 24c256 VPD option for Habanero.
Diffstat (limited to 'xslt')
-rwxr-xr-xxslt/mrwProcSpi.xsl43
1 files changed, 43 insertions, 0 deletions
diff --git a/xslt/mrwProcSpi.xsl b/xslt/mrwProcSpi.xsl
new file mode 100755
index 0000000..316b951
--- /dev/null
+++ b/xslt/mrwProcSpi.xsl
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mrwspi="http://w3.ibm.com/stg/power-firmware/schema/mrwspi"
+ xmlns="http://w3.ibm.com/stg/power-firmware/schema/mrwspi"
+ xmlns:ex="http://exslt.org/dates-and-times"
+ extension-element-prefixes="ex">
+
+ <!-- Pass in the system name with: xsltproc \-\-stringparam system <the systemName> -->
+ <xsl:param name="system"/>
+
+ <xsl:output method="html" indent="yes"/>
+
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>Processor SPI Connections</title>
+ </head>
+ <body>
+ <h1>Processor SPI Connections</h1>
+ <br/>
+ <br/>
+ <table border="3" cellpadding="5">
+ <tr>
+ <th>Processor Target</th>
+ <th>Processor Instance Path</th>
+ <th>Endpoint</th>
+ </tr>
+ <xsl:for-each select="mrwspi:processor-spi-busses/mrwspi:processor-spi-bus">
+ <tr>
+ <td>n<xsl:value-of select="mrwspi:processor/mrwspi:target/mrwspi:node"/>:p<xsl:value-of select="mrwspi:processor/mrwspi:target/mrwspi:position"/></td>
+ <td><xsl:value-of select="mrwspi:processor/mrwspi:instance-path"/></td>
+ <td><xsl:value-of select="mrwspi:endpoint/mrwspi:instance-path"/></td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ <br/><br/>
+ </body>
+
+ </html>
+ </xsl:template>
+
+</xsl:stylesheet>
OpenPOWER on IntegriCloud