- From: Glen Mazza <grm7793@yahoo.com>
- Date: Sat, 5 Feb 2005 06:13:52 -0800 (PST)
- To: xsl-editors@w3.org
--- Glen Mazza <grm7793@yahoo.com> wrote: > --- Steve Zilles wrote: > > > > should be removed and the following "constraint" > > should be > > added to > > fo:basic-link and fo: bookmark: > > > > One of the external-destination and > > internal-destination > > properties should be specified. If both are > > specified, > > the system may either report it as an error, or > > use the > > internal-destination property. > > > > I don't think that will work for bookmarks, because > bookmarks activating another document may need both > properties to be set.[1] I would recommend > rephrasing > the above for bookmarks to something similar to: > > If both external-destination and > internal-destination > are specified, the external-destination refers to > the > file to activate, while the internal-destination > refers to the destination within that file to > activate. If external-destination is not specified, > then internal-destination is a destination within > the > same document that the bookmark is in. > > [1] PDF 1.5 Reference, Section 8.5.3 Action Types - > Remote Go-To Actions, Table 8.44, Keys "F"--file and > "D"--destination. > Two more issues came to mind here-- a.) My logic above is also relevant for fo:basic-link. b.) My logic above of using both internal-destination and external-destination together nevertheless appears wrong for both fo:basic-link and fo:bookmark. For external bookmarks, with the external-destination referencing the other document, it does not appear that the internal-destination property could be an idref pointing to the location within the external document, because that already-created external document is not being generated via the XSL process. Instead, it would need to be an internal identifier in the external document's format. (A PDF destination identifier in the case of PDF.) So the SG would appear to need another property for external bookmarks (and fo:basic-link), say, target-internal-destination or similar, instead of using internal-destination. I am unsure, however, if the SG would be willing to expand the spec to have a target-internal-destination at this time, and for that reason might recommend removing external-destination as an applicable property for fo:bookmark in XSL 1.1 as an alternative. (Unless it can be considered acceptable in 1.1 to have external bookmarks just bring up the document without going to a specific page within it.) External bookmarks perhaps are best for future XSL spec releases. Thanks, Glen
Received on Saturday, 5 February 2005 14:14:23 UTC