Revision 937
Added by Jing Tao almost 23 years ago
lib/style/generic-morpho.xsl | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
3 |
|
|
4 |
<xsl:template match="/"> |
|
5 |
<table border="1" cellpadding="5"> |
|
6 |
<tr><td><B>Element Name</B></td><td><B>Value</B></td></tr> |
|
7 |
<xsl:apply-templates /> |
|
8 |
</table> |
|
9 |
</xsl:template> |
|
10 |
|
|
11 |
<xsl:template match="*"> |
|
12 |
<xsl:for-each select="./*"> |
|
13 |
<tr><td><xsl:value-of select="local-name()"/></td> |
|
14 |
<td><xsl:value-of select="."/></td></tr> |
|
15 |
</xsl:for-each> |
|
16 |
</xsl:template> |
|
17 |
|
|
18 |
</xsl:stylesheet> |
|
0 | 19 |
Also available in: Unified diff
Adding the style sheet of html file in zip data package for morpho to metacat.
So the html summary file can have the same style in morpho and metacat zip package.