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]
Other format: [Raw text]

Re: 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.



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