This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Chunk filenames
- To: 'Dmitry Tkatchenko' <dim at mnogosearch dot org>, docbook-apps at lists dot oasis-open dot org
- Subject: RE: DOCBOOK-APPS: Chunk filenames
- From: "Bradford, Denis" <denisb at rational dot com>
- Date: Fri, 05 Oct 2001 10:22:10 -0400
- List-Id: <docbook-apps.lists.oasis-open.org>
-----Original Message-----
From: Jirka Kosek [mailto:jirka@kosek.cz]
Sent: Saturday, June 23, 2001 4:21 AM
To: Bradford, Denis
Cc: 'docbook-apps@lists.oasis-open.org'
Subject: Re: DOCBOOK-APPS: HTML Help (htmlhelp.xsl) topic ids
If you wan to get reasonable filenames of HTML chunks using XSL HTML
Help stylesheet you can do it two ways:
1. Add special processing instruction right after each start tag which
should produce chunk with some specific name:
<chapter>
<?dbhtml filename="installation.html"?>
<title>Installation</title>
...
</chapter>
2. Add filenames as IDs to your document and then call stylesheet with
parameter use.id.as.filename=1:
<chapter id="installation">
<title>Installation</title>
...
</chapter>
saxon document.xml .../path/to/htmlhelp/htmlhelp.xsl
"use.id.as.filename=1"
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>