RE: DOCBOOK-APPS: Chunk filenames

From
Bradford, Denis <>
Date
2001-10-05T16:12:08+00:00
ID
3906C56A7BD1F54593344C05BD1374B10286E35F@SUS-MA1IT01
Thread
RE: DOCBOOK-APPS: Chunk filenames
-----Original Message-----
From: Jirka Kosek [mailto:]
Sent: Saturday, June 23, 2001 4:21 AM
To: Bradford, Denis
Cc: ''
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: 
  http://www.kosek.cz