This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Chunk filenames




-----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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]