- Timestamp:
- 2012-07-26T20:45:17+12:00 (12 years ago)
- Location:
- main/trunk/greenstone3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java
r26026 r26031 110 110 String select = elem.getAttribute("select"); 111 111 String sep = elem.getAttribute("separator"); 112 if (!pos.equals("")) 112 113 if(pos.equals("offset")) { // offset when requested to use mdoffset 114 metadata.append("offset"); 115 metadata.append(GSConstants.META_RELATION_SEP); 116 } 117 else if (!pos.equals("")) 113 118 { 114 119 metadata.append("pos" + pos); // first, last or indexing number 115 120 metadata.append(GSConstants.META_RELATION_SEP); 116 121 } 122 117 123 if (!select.equals("")) 118 124 { -
main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl
r26023 r26031 126 126 127 127 <!-- calls a template in gslib.xsl in order to avoid xsl vs xslt issue --> 128 < xsl:template match="gsf:equivlinkgs3">128 <!--<xsl:template match="gsf:equivlinkgs3"> 129 129 <xslt:call-template name="equivDocLinks"> 130 130 <xslt:with-param name="count" select="0"/> 131 131 </xslt:call-template> 132 </xsl:template> 132 </xsl:template>--> 133 133 134 134 <!-- Another way (also works with DSpace tutorial): build all the equivalent document links for the current document in one go. No looping necessary: handled in function call. --> 135 < !--<xsl:template match="gsf:equivlinkgs3">135 <xsl:template match="gsf:equivlinkgs3"> 136 136 <xslt:variable name="docicon" select="metadataList/metadata[contains(@name, 'equivDocIcon')]"/> 137 137 <xslt:variable name="docStartlink" select="metadataList/metadata[contains(@name, 'all_*,*_equivDocLink')]"/> … … 140 140 <xslt:variable name="equivDocLinks" select="java:org.greenstone.gsdl3.util.XSLTUtil.getEquivDocLinks(',',$docicon, $docStartlink, $docEndlink, ' ')" /> 141 141 <xslt:value-of disable-output-escaping="yes" select="$equivDocLinks"/> 142 </xsl:template> -->142 </xsl:template> 143 143 144 144 <!--
Note:
See TracChangeset
for help on using the changeset viewer.