Topic: wftk -- Process definition:
[ wftk home ]
[ process definition ]
[ discussion ]
|
The conditional is coded with an <if> tag. When I first considered the
idea of an XML-based if, I was really unhappy about what it should look like. First,
the entire thing should be enclosed in the <if> ... </if> block.
OK, fine -- but where do we put that else? Should the enclosed blocks be considered
a sequence or a parallel block? Do we need a then? Obviously not, but then why have
an else?
So after mulling that over a while, I decided to use the LISP cond as a model. But since the word "if" still means more to me than "cond", at least the tag is called "if". (2/23/00) Thomas Fricke suggested a slightly different setup than the
So the basic structure of the The only really open question in my mind about this construct is how to evaluate those test expressions. As noted in current email (2/12/00), the Tcl expression evaluator might be a convenient compact package to use for this purpose. As with many other open questions, my answer right now is, "we'll see when we get into prototyping." And of course, if you have any other ideas, I'd love to hear'em. |