This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: root filename in chunked output
- From: Dennis Grace <dgrace at us dot ibm dot com>
- To: Martin Stemplinger <mstemplinger at gmx dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 28 Mar 2002 10:29:24 -0600
- Subject: Re: DOCBOOK-APPS: root filename in chunked output
Hi Martin,
You asked:
>>>>I'm creating chunked output using docbook-xsl-1.50 and saxon6.5.1. The
chunks
get filenames according to their id-attribute. Only the root filename is
always
index.html. In older version of the stylesheets (around 1.45 I guess) the
root
file was also named after the id-attribute (I used xt then).
Is it a bug or a feature in the stylesheets, does this depend on the parser
or
am i missing something obvious?
<<<<
Put this in your driver file (okay, the comment isn't a requirement):
<!--Use id attriute as filename for root element filename.-->
<xsl:param name ="root.filename" select="@id"/>
Dennis Grace
Information Developer
IBM Linux Technology Center
(512) 838-3937 T/L 678-3937 cell: (512)-296-7830
dgrace@us.ibm.com
This sentence no verb.