[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|