On 8/22/2023 9:06 AM, denis.maier@unibe.ch wrote:
But, I think the way this is processed differs a bit from XSLT. In XSLT the most specific match will be applied, but ConTeXt seems to proceed from top to bottom until it finds a match. (Is that correct?) it just associates the most recent match with a setup . if needed we could extend the mechanism with varianst but i have to admit that it has been stable (mostly untouched) for close to 15 years now so all has to be done very careful; it has also be tuned for performance and large scale throughput
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------