Hello all,
I am new to FM, using FM9p196. I would like to be able to set a user variable based on the value of an attribute.
For example, say I have a highest-level-element named "DOCUMENT" with an attribute color. Color is an optional choice string attribute with choices "black" or "white." I would like to be able to set text within the document to say "The document color number is BW-XXX" or "The document color number is WH-XXX". I thought I might be able to do this with a user variable, but cannot figure out how to put a conditional statement into the definition of the variable (e.g. if color = white, variable = WH-XXX). Is it possible to do this within framemaker, either as some conditional text statement or via a translation table in the reference pages, or some other way?
Thanks for you help.
SK