Subject: | broken link for structure on 'sources' page |
Hi,
Just been upgrading ProServer after a long time - all looks very nice
indeed - excellent work.
Think the sources XSL could do with an extra clause to deal with
structure (i.e. "query=xxx" rather then the default "segment=xxx").
Cheers,
Ian
Subject: | tmp.diff |
Index: stylesheets/xsl_sources.xsl
===================================================================
--- stylesheets/xsl_sources.xsl (revision 729)
+++ stylesheets/xsl_sources.xsl (working copy)
@@ -74,6 +74,9 @@
<xsl:when test="($command='interaction')">
[<a><xsl:attribute name="href"><xsl:value-of select="@query_uri"/>?interactor=<xsl:value-of select="../COORDINATES/@test_range"/></xsl:attribute><xsl:value-of select="@type"/></a>]
</xsl:when>
+ <xsl:when test="($command='structure')">
+ [<a><xsl:attribute name="href"><xsl:value-of select="@query_uri"/>?query=<xsl:value-of select="../COORDINATES/@test_range"/></xsl:attribute><xsl:value-of select="@type"/></a>]
+ </xsl:when>
<xsl:otherwise>
[<a><xsl:attribute name="href"><xsl:value-of select="@query_uri"/>?segment=<xsl:value-of select="../COORDINATES/@test_range"/></xsl:attribute><xsl:value-of select="@type"/></a>]
</xsl:otherwise>