forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r514133 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl
Date Sat, 03 Mar 2007 11:38:48 GMT
Author: rgardler
Date: Sat Mar  3 03:38:47 2007
New Revision: 514133

URL: http://svn.apache.org/viewvc?view=rev&rev=514133
Log:
rdf:resources are usually URI and therefore cannot (always) be used as links

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl?view=diff&rev=514133&r1=514132&r2=514133
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl
Sat Mar  3 03:38:47 2007
@@ -89,10 +89,7 @@
   </xsl:template>
   
   <xsl:template match="doap:category">
-    <a>
-      <xsl:attribute name="href">category/<xsl:value-of select="substring-after(@rdf:resource,
'category/')" />.html</xsl:attribute>
-      <xsl:value-of select="substring-after(@rdf:resource, 'category/')"/>
-    </a>
+    <xsl:value-of select="@rdf:resource"/>
     <xsl:if test="not(position() = last())">
       <xsl:text>, </xsl:text>
     </xsl:if>



Mime
View raw message