1 | <?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0"
|
---|
2 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
3 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
4 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
5 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
6 | extension-element-prefixes="java util"
|
---|
7 | exclude-result-prefixes="java util gsf">
|
---|
8 |
|
---|
9 | <!-- use the 'main' layout -->
|
---|
10 | <xsl:include href="layouts/main.xsl"/>
|
---|
11 |
|
---|
12 | <!-- set page title -->
|
---|
13 | <xsl:template name="pageTitle">Document Basket</xsl:template>
|
---|
14 |
|
---|
15 | <!-- set page breadcrumbs -->
|
---|
16 | <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/>
|
---|
17 | <gslib:collectionNameLinked/><gslib:rightArrow/></xsl:template>
|
---|
18 |
|
---|
19 | <!-- the page content -->
|
---|
20 | <xsl:template match="/page">
|
---|
21 | <xsl:for-each select="//item">
|
---|
22 | <input type="checkbox" align="center">
|
---|
23 | <xsl:attribute name="id">
|
---|
24 | <xsl:text>doc</xsl:text>
|
---|
25 | <xsl:value-of select="position()"/>
|
---|
26 | </xsl:attribute>
|
---|
27 |
|
---|
28 | <xsl:attribute name="value">
|
---|
29 | <xsl:value-of select="@name"/>
|
---|
30 | </xsl:attribute>
|
---|
31 | </input>
|
---|
32 | <xsl:value-of select="position()"/><xsl:text>. </xsl:text>
|
---|
33 |
|
---|
34 | <a>
|
---|
35 | <xsl:attribute name="href">
|
---|
36 | <xsl:value-of select="$library_name"/>?a=d&c=<xsl:value-of select="/page/pageResponse/collection/@name"/>&d=<xsl:value-of select="@name"/>&p.a=b&p.s=<xsl:value-of select="/page/pageResponse/service/@name"/>&ed=1
|
---|
37 | </xsl:attribute>
|
---|
38 | <xsl:value-of select="@title"/>
|
---|
39 | </a>
|
---|
40 | <br />
|
---|
41 | </xsl:for-each>
|
---|
42 | </xsl:template>
|
---|
43 |
|
---|
44 | </xsl:stylesheet>
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|