我一直在使用 htmlhelp xsl 来生成我的 htmlhelp 文件。直到昨天,指数还在。但是从今天开始,我在 index.hhk 文件中看不到任何条目。我正在使用 xsltproc 来生成我的 html 帮助文件。这是我的测试 xml 脚本。
<?xml version='1.0'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/
docbookx.dtd">
<book lang="en">
<bookinfo><title>My first DocBook document</title></bookinfo>
<chapter>
<title>TEST DOCBOOK</title>
<note>
<title>This is Note<indexterm><primary>Note</primary></
indexterm></title>
<para>This is test.</para>
</note>
</chapter>
<index/>
</book>
我曾经xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/
htmlhelp.xsl test.xml
将我的 xml 文件转换为 htmlhelp 文件。
现在我的 index.hhk 文件总是这样。
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
<!-- Sitemap 1.0 -->
</HEAD><BODY>
<OBJECT type="text/site properties">
</OBJECT>
<UL>
</UL>
</BODY></HTML>
我不知道这里出了什么问题。请帮忙。
谢谢。