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: Re: chunking problem


Hello Dennis and list,

When chunking an article using xsltproc, I have the
header of each HTML page change to match the id of the
sect tag. How do I have each HTML page display the
article heading in the header instead?

Thanks,

Con. 

 --- Dennis Grace <dgrace@us.ibm.com> wrote: > 
> Giuseppe says:
> 
> >>>>>
> 
> I modified my stylesheet by adding
> <xsl:param name="use.id.as.filename" select="1"/>.
> 
> This works for all the chunks except for the
> main one, for which I still get index.html.
> 
> For me it is OK, but it would be interesting to
> know how to replace index.html with a name
> coming form the id attribute.
> 
> <<<<<
> 
> Try
> 
>   <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
> 
> There are only 10 kinds of people in the world:
> those who understand binary
> and those who don't.
> 
> 
>  

http://careers.yahoo.com.au - Yahoo! Careers
- 1,000's of jobs waiting online for you!


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