I have set up a running forrest xml publication system. We use our own specific dtd and are not using the document*.dtd.
Everything works fine up to now inclusive searching. Except the problem that there are no titles of found documents are shown.
Only the filename with *.html extention is shown.
I tried to say lucene to store the title when indexing the whole content (the document titles in the xml files are stored in <module><title>Foo</title>...:
- In document2lucene.xsl
<xsl:apply-templates select="module/title" mode="store"/>
<xsl:template match="/module/title" mode="store">
In the default application "forrest seed" the title of the found documents are shown.
In the sample xml docs the title is stored in /document/header/title. Therefore I changed only the the paths to the title in the above xsl.
Except of this every thing else should/must be the same as in the default application (forrest seed).
Where is the title? Any suggestions?