Well, it was more a question out of curiosity, not a specific problem that needs to be solved. (Or actually, I found another solution for the problem I've had first.) Anyway, I still think this would be handy as that would be a more maintainble control structure. I'll try to come up with an example next week... Denis
-----Ursprüngliche Nachricht----- Von: Wolfgang Schuster
Gesendet: Donnerstag, 9. Dezember 2021 18:32 An: mailing list for ConTeXt users ; Denis Maier via ntg- context Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] xml processing: if elseif else / switch case Denis Maier via ntg-context schrieb am 09.12.2021 um 18:24:
Thanks for all the answers. That's helpful. But I think that does not work with the xml tests, or does it? I mean, is this a general mechanism?
Since you didn't provide a example with your problem there is no way to tell how to improve it.
Wolfgang