source: documented-examples/trunk/gsarch-e/transform/pages/about.xsl@ 36276

Last change on this file since 36276 was 36276, checked in by anupama, 8 weeks ago

Finished porting DEC collection gsarch-e (greenstone archives collection). I still think that there would be a shorter format statement to run a query from a link, if only the httpPath variable was what I wanted. I'm not sure where the sites/localsite portion of the httpPath value is coming from or how it can work elsewhere. And in the URL, the word collection is used in place of collect. For now I've largely manually produced the query URL in the Search By Sender link, but tried to avoid hardcoding library name and collection name.

File size: 1.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4
5 <xsl:template name="coll-description">
6 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='shortDescription']"/>
7
8 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description1']"/>
9 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description2']"/>
10 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description3']"/>
11 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description4']"/>
12 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description5']"/>
13 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description6']"/>
14 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description7']"/>
15
16 </xsl:template>
17
18</xsl:stylesheet>
19
Note: See TracBrowser for help on using the repository browser.