Last change
on this file since 24007 was 24007, checked in by sjm84, 13 years ago |
Updating this branch to match the latest Greenstone3 changes
|
File size:
882 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
|
---|
6 | extension-element-prefixes="java"
|
---|
7 | exclude-result-prefixes="java gsf">
|
---|
8 |
|
---|
9 | <xsl:output method="html" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />
|
---|
10 |
|
---|
11 | <xsl:template match="page">
|
---|
12 | <xsl:for-each select="//documentNode">
|
---|
13 | <xsl:if test="nodeContent">
|
---|
14 | <xsl:if test="metadataList/metadata[@name='Title']">
|
---|
15 | <h3><xsl:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='Title']"/></h3>
|
---|
16 | </xsl:if>
|
---|
17 | <xsl:value-of select="nodeContent" />
|
---|
18 | </xsl:if>
|
---|
19 | </xsl:for-each>
|
---|
20 | </xsl:template>
|
---|
21 |
|
---|
22 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.