Last change
on this file since 19942 was 5957, checked in by kjdon, 21 years ago |
transform and css files for simple xml lucene collection
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
801 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:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
6 | extension-element-prefixes="java util"
|
---|
7 | exclude-result-prefixes="java util">
|
---|
8 |
|
---|
9 | <xsl:output method="xml"/>
|
---|
10 |
|
---|
11 | <xsl:strip-space elements='*'/>
|
---|
12 |
|
---|
13 | <xsl:template match="gutbook | book | acknowledge | frontmatter | bookbody | backmatter | part | chapter | chapheader "><xsl:copy><xsl:for-each select="@*"><xsl:copy/></xsl:for-each><xsl:apply-templates/></xsl:copy></xsl:template>
|
---|
14 |
|
---|
15 | <xsl:template match="title | chapnum">
|
---|
16 | <xsl:copy-of select="."/>
|
---|
17 | </xsl:template>
|
---|
18 |
|
---|
19 | <!-- any thing else is ignored -->
|
---|
20 | <xsl:template match="*"></xsl:template>
|
---|
21 |
|
---|
22 | </xsl:stylesheet> |
---|
Note:
See
TracBrowser
for help on using the repository browser.