Project

General

Profile

« Previous | Next » 

Revision 918

Changed the link urls in the eml-dataset display stylesheet to use the
default style-set as set in the build file rather than hard-coding the
value 'html'. This allows more flexibility in switching styles, for example
when setting up the marine, nrs, and obfs sites.

View differences:

lib/style/eml-dataset-display.xsl
61 61
        <ul>
62 62
          <xsl:for-each select="//triple">
63 63
            <li>
64
             <a><xsl:attribute name="href"><![CDATA[@html-path@/servlet/metacat?action=read&qformat=html&docid=]]><xsl:value-of select="./subject"/></xsl:attribute><xsl:value-of select="./subject"/></a>
64
             <a><xsl:attribute name="href"><![CDATA[@html-path@/servlet/metacat?action=read&qformat=@default-style@&docid=]]><xsl:value-of select="./subject"/></xsl:attribute><xsl:value-of select="./subject"/></a>
65 65
             <xsl:text> </xsl:text>
66 66
             <xsl:value-of select="./relationship"/>
67 67
             <xsl:text> </xsl:text>
68
             <a><xsl:attribute name="href"><![CDATA[@html-path@/servlet/metacat?action=read&qformat=html&docid=]]><xsl:value-of select="./object"/></xsl:attribute><xsl:value-of select="./object"/></a>
68
             <a><xsl:attribute name="href"><![CDATA[@html-path@/servlet/metacat?action=read&qformat=@default-style@&docid=]]><xsl:value-of select="./object"/></xsl:attribute><xsl:value-of select="./object"/></a>
69 69
            </li>
70 70
          </xsl:for-each>
71 71
        </ul>

Also available in: Unified diff