Archive - Sep 12, 2008
We have a requirement to deliver context-sensitive content based on metadata on elements within a topic. One output is embedded into a third-party app and the correct content for each context is shown based on the metadata attributes. A custom XSLT is required to produce the right schema (i.e. we bypass DITA-OT processing entirely).
In PDF and XHTML, we need to show the content of all elements, with some visual way of describing their contexts. We use DITA-OT processing for these outputs.
Self on Help
A question was raised recently on the Yahoo! DITA Users mailing list relating to linking via a URL to a specific page in a collection of HTML. The requirement was for the target page to open within the "tri-pane" frameset so that the table of contents was visible.
A number of solutions were mooted, but Martin Polley eventually came up with a solution to fitted the particular requirement (but not necessarily all requirements).
Martin added a function to the top-level frameset of the collection. The function contained the following code: