[Framers] Are there limits on Conditional Expressions? If so, what are they?

Robert Lauriston robert at lauriston.com
Tue Apr 18 13:22:30 PDT 2017


The shorter expression returns everything that is NOT tagged with
anything in the ( "DocIss" or ... "WriterNote") set, PLUS everything
that matches ("LITEvA" and (("LP" or ... or "SAS4vC") and not ("TBP"
or "Internal"))).

You might try running the first one through a utility that simplifies
logical expressions.

http://stackoverflow.com/questions/14902141/any-good-boolean-expression-simplifiers-out-there

On Tue, Apr 18, 2017 at 1:08 PM, Lin Sims <ljsims.ml at gmail.com> wrote:
> I wish. But my boss wants unstructured, so I'm sorta stuck.
>
> At least the long expression works properly. I just wish I understood why
> the shorter one (which to me looks logically the same) doesn't. Ah, well.
>
> On Tue, Apr 18, 2017 at 4:02 PM, Robert Lauriston <robert at lauriston.com>
> wrote:
>
>> DocBook and DITA have a much more sophisticated approach to
>> conditional text. There are multiple profiling attributes that can
>> have multiple values. Thus the parameters you use when processing
>> output are simple and human-readable.
>>
>> In my main docs, currently I use audience (public / internal) and
>> condition (public / tech writer only). Both default to public, so I
>> don't have to do anything to hide internal and tech-writer-only
>> elements.


More information about the Framers mailing list