[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: fo:basic-link to non-pdf file
You are correctly specifying the HTML file from you XSL-FO, Mark.
Based on your evidence, I suspect the problem is with your reader supplying a base-uri that is different than the current directory in which the PDF file is being opened. The following works for me, formatting it with Antenna House and opening it in Acrobat Reader: <?xml version="1.0" encoding="US-ASCII"?><!--basic-link3.fo--> <root xmlns="http://www.w3.org/1999/XSL/Format" font-family="Times" font-size="20pt"> <layout-master-set> <simple-page-master master-name="frame" page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="15mm" margin-left="15mm" margin-right="15mm"> <region-body region-name="frame-body"/> </simple-page-master> </layout-master-set> <page-sequence master-reference="frame"> <flow flow-name="frame-body" xmlns="http://www.w3.org/1999/XSL/Format"> <block>This is a <basic-link external-destination="hello.htm">link test</basic-link>.</block> </flow> </page-sequence> </root> When I click on "link test", Firefox opens up and shows the "hello.htm" file. I hope this helps. . . . . . . . . Ken At 2013-02-23 16:08 -0700, Mark Wilson wrote: Hello, -- Public XSLT, XSL-FO, UBL and code list classes in Europe -- Apr 2013 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
|
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
|