Last change
on this file since 36459 was 36459, checked in by anupama, 20 months ago |
GS3 collection descriptions for DEC collection manifest-demo-e, for which I have still to get incremental-building to work. But the collection descriptions are something else that need to be present in the finished collection.
|
File size:
1.5 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 | <!--xmlns:java="http://xml.apache.org/xslt/java"
|
---|
5 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
6 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
7 | extension-element-prefixes="java util"
|
---|
8 | exclude-result-prefixes="java util">-->
|
---|
9 |
|
---|
10 | <xsl:template name="coll-description">
|
---|
11 | <!-- Only the chosen language's description comes through in the pageResponse,
|
---|
12 | so there's no need to choose the description for the selected language
|
---|
13 | as that's all the description available to us. -->
|
---|
14 | <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description']"/>
|
---|
15 | <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description0']"/>
|
---|
16 | <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description1']"/>
|
---|
17 | <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description2']"/>
|
---|
18 | <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description3']"/>
|
---|
19 | <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description4']"/>
|
---|
20 |
|
---|
21 | </xsl:template>
|
---|
22 |
|
---|
23 | </xsl:stylesheet>
|
---|
24 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.