[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSLT for XSL-FO internal-destination

Subject: XSLT for XSL-FO internal-destination
From: Robert Siebens <telehodown@xxxxxxxxx>
Date: Thu, 19 Nov 2009 11:45:22 -0800 (PST)
 XSLT for XSL-FO internal-destination
Ibm combining many XHTML online help files into one large PDF with FOP and
am wondering what kind of transform I need to write to handle anchors like
this: <a href="c:/Help_Files/File_Two.htm">.

These types of links simply point from one help file page to another. When I
combine these XHTML files into a book, these links in the new document need to
be redirected to an internal destination inside the PDF (in other words, to
the first line of the content of the file that used to be external but is now
internal to the PDF).

None of the help system files have the filename in the <TITLE> or anywhere
else in the file, so Ibm not able to use the generate-id function to create
a target. Is there some other way I can redirect this external anchor to a
location inside my combined PDF?

Here are two sample files. How would you handle the anchor in
bFile_One.htmb that points to bFile_Two.htmb when both files end up in
the same combined PDF?

File_One.htm

<?xml version="1.0" encoding="utf-8"?>
<html>
    <head>
       <title> </title>
    </head>
    <body>
        <p>Link example: <a href="c:/help_files/File_Two.htm">Link to file
two. </a>
    </body>
</html>

File_Two.htm

<?xml version="1.0" encoding="utf-8"?>
<html>
    <head>
       <title> </title>
    </head>
    <body>
        <p>Content of file number two.</a>
    </body>
</html>

Thanks,

Rob

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.