User Tools

Site Tools


en:user:gs3_sample_format_statements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:user:gs3_sample_format_statements [2016/09/26 22:58] – [Linking metadata to a search] kjdonen:user:gs3_sample_format_statements [2016/10/09 21:01] – [Linking metadata to a search] kjdon
Line 183: Line 183:
 <code> <code>
 Search for Authors: <gsf:foreach-metadata name='dc.Creator'>  Search for Authors: <gsf:foreach-metadata name='dc.Creator'> 
-   <a><xsl:attribute name="href"><xsl:value-of select="$_httpquery_"/>/TextQuery?qs=1&amp;rt=rd&amp;s1.level=Doc&amp;startPage=1&amp;s1.query=<gsf:meta-value/>&amp;s1.index=CR</xsl:attribute><gsf:meta-value/></a><xsl:text>, </xsl:text>+   <a><xsl:attribute name="href"><xsl:value-of select="$_httpquery_"/>/TextQuery?qs=1&amp;rt=rd& 
 +   amp;s1.level=Doc&amp;startPage=1&amp;s1.query=<gsf:meta-value/>&amp;s1.index=CR</xsl:attribute> 
 +   <gsf:meta-value/></a><xsl:text>, </xsl:text>
 </gsf:foreach-metadata> </gsf:foreach-metadata>
 </code> </code>
Line 189: Line 191:
 <gsf:foreach-metadata> iterates over the list of values for the specified metadata, and <gsf:meta-value> outputs the current value each time. <gsf:foreach-metadata> iterates over the list of values for the specified metadata, and <gsf:meta-value> outputs the current value each time.
  
 +Use double quotes around the query value if you want exact matching, i.e.
 +<code>
 +s1.query="<gsf:meta-value/>"
 +</code>
 The parameters are: The parameters are:
   * qs=1  - this search is a quick search. Can omit if you want to be taken to the TextQuery search page (equivalent to clicking the TextQuery link under the quick search form)   * qs=1  - this search is a quick search. Can omit if you want to be taken to the TextQuery search page (equivalent to clicking the TextQuery link under the quick search form)
en/user/gs3_sample_format_statements.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1