You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2008/11/07 02:14:44 UTC

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

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>