Re: [docbook-apps] olinks in a new page

From
Bob Stayton <>
Date
2006-11-02T07:09:30+00:00
ID
066101c6fe4d$c4a74030$6400a8c0@totoro
Thread
Re: [docbook-apps] olinks in a new page
You would have to customize the template with 
match="olink" in html/xref.xsl.  You would need to add a target attribute 
to the <a> element generated for the olink.  You would have to 
compare the current olink's targetdoc with the $current.docid to see if it was 
an internal or external olink.

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

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

  
From: 
  Johnson, 
  Eric 

  
To:  
  

  
Sent: Wednesday, November 01, 2006 10:03 
  AM

  
Subject: [docbook-apps] olinks in a new 
  page

  

  
I'm placing my 
  books into a frameset with the TOC on the left hand side. It works great, but 
  when I hit an olink to another book in the library it opens the HTML up in the 
  content frame....

  
How can I 
  customize the olink processing to make references to other books open in a new 
  browser window/tab?

  
 

  
Thanks,

  
Eric