I am trying to single source two documents using structured FM 9. Each document describes a product, where both products are about 90% identical. If the documents are maintained separately, they each have a set of variables that are named the same, but have different values depending on the document, for example 'prodname' = ABC and 'prodname' = XYZ. While it is quite straightforward to mark the texts conditionally, for example 'Product ABC is used at home' and 'Product XYZ is used in an office' I cant figure out a way to reference the variable in the same document. What I would be trying to achieve would be something like 'Product <prodname> is used in an officeat home' where prodname would automatically toggle between XYZ and ABC depending on the 'Show/Hide conditional text' setting. Of course it would be easy to create a variable 'ProdnameXYZ' for XYZ and 'ProdnameABC' for the other product, but this would defeat the purpose and wreck other documents that rely on 'prodname'. The example is also simplified because I have a mass of other variables for each document like document numbers, revisions, dates, and so on that rely on a standard set of variables. Maybe this can't be done, but if anyone could point me to a reference or some clue about how to solve this I would be most grateful. Thanks.
↧