OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] onechunk references broken


Bob

 

Thanks, that worked fine once I’d removed <xsl:param name="onechunk" select="1"/>.

 

Using onechunk.xsl I have an index.html file and a toc.html file.  I want to have the toc.html in the left hand frame and index.html in the right hand frame of a frameset.  When I click on a link (ToC entry) in the left hand pane I want the index.html file to open at the correct location in the right-hand frame.

 

To do this easily, I need to modify the links in both generated files so that they are ./index.html#target-id rather than just #target-id.  The reason for this is that when I click on a link in the toc file it will currently try to open a URL called http://serverName/toc.html#target-id rather than http://serverName/index.html#target-id.

 

What is the easiest way to do this?

 

Thanks

Tim


From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: 15 January 2007 17:42
To: Tim Casling; docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] onechunk references broken

 

Actually, you want to process with the onechunk.xsl stylesheet in place of chunk.xsl.  Setting the parameter is not sufficient. 

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net

 

 

----- Original Message -----

From: Tim Casling

Sent: Monday, January 15, 2007 9:33 AM

Subject: [docbook-apps] onechunk references broken

 

Hi,

 

To generate a single HTML file from a set of documents I’ve used the chunk.xsl stylesheet with “onechunk” set on.  The reason I’ve used chunk.xsl is because I’d also like a separate ToC file to be produced.

 

I get an index.html file and a bk01-toc.html produced, however, the index.html file contains links in the form <a href=""ch01s02.html">" when I was expecting all of the links to be in the form <a href=""#id">.

 

Any idea what is making the stylesheet think it should be producing references to chunks even though it has output only one chunk, as requested?

 

 

Tim

 

 


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]