forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r712030 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl
Date Fri, 07 Nov 2008 01:14:44 GMT
Author: thorsten
Date: Thu Nov  6 17:14:44 2008
New Revision: 712030

URL: http://svn.apache.org/viewvc?rev=712030&view=rev
Log:
Updating link generation to actually generate the correct link.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl?rev=712030&r1=712029&r2=712030&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl
Thu Nov  6 17:14:44 2008
@@ -64,7 +64,7 @@
         <section id="result-{$id}">
           <title><xsl:value-of select="str[@name='title']"/></title>
           <p>
-            <a href="{concat(substring-before($id,'.xml'),'.html')}">
+            <a href="{concat(substring-after(substring-before($id,'.xml'),':'),'.html')}">
             <xsl:value-of select="str[@name='title']"/>
             </a>
           </p>



Mime
View raw message