You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2007/10/13 12:57:39 UTC
svn commit: r584389 -
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-document.xsl
Author: rgardler
Date: Sat Oct 13 03:57:38 2007
New Revision: 584389
URL: http://svn.apache.org/viewvc?rev=584389&view=rev
Log:
Add some class attributes for styling. Thanks to Stuart Yeates, FOR-1052.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-document.xsl
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-document.xsl?rev=584389&r1=584388&r2=584389&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-document.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.foaf/resources/stylesheets/foaf-to-document.xsl Sat Oct 13 03:57:38 2007
@@ -43,7 +43,7 @@
<xsl:apply-templates select="foaf:depiction" />
- <table>
+ <table class="foaf-data">
<tr>
<th>Property</th>
<th>Value</th>
@@ -116,7 +116,7 @@
<xsl:template match="foaf:mbox_sha1sum">
<tr>
<td>Mbox SH1Sum</td>
- <td>
+ <td class="foaf-mbox_sha1sum-value">
<xsl:value-of select="." />
</td>
</tr>
@@ -198,19 +198,23 @@
</xsl:otherwise>
</xsl:choose>
</td>
- <td>
<xsl:choose>
<xsl:when test="foaf:mbox_sha1sum">
- <xsl:value-of select="foaf:mbox_sha1sum" />
+ <td>
+ <xsl:value-of select="foaf:mbox_sha1sum" />
+ </td>
</xsl:when>
<xsl:when test="foaf:mbox">
- <xsl:apply-templates select="foaf:mbox/@rdf:resource"/>
+ <td>
+ <xsl:apply-templates select="foaf:mbox/@rdf:resource"/>
+ </td>
</xsl:when>
<xsl:otherwise>
- No MBox specified
+ <td>
+ No MBox specified
+ </td>
</xsl:otherwise>
</xsl:choose>
- </td>
</tr>
</xsl:for-each>
</xsl:template>