I know that you can use the wild-card character (*) in the context attribute of a FOSI e-i-c, such as context="para * chapter", which would mean a <para> within a <chapter> with any other elements in-between.
However, I would like to know if there is a way to use a wild-card to describe all elements with a certain suffix. We have dozens of container elements which can contain this inline element, and whose names all end in the suffix "-xxx-yyy".
Let's say we have an e-i-c for an element called "inline" (<inline>). If this element occurs within the context of any of the elements whose name ends with the "-xxx-yyy" suffix, it always needs to be formatted a certain way, which is different from the formatting in other contexts.
I would like to use something like <e-i-c gi="inline" context="*-xxx-yyy">, which I know will not work because of the default FOSI wild-card (*) character.
Is there another way to write this without listing all of the dozens of "-xxx-yyy" element names in the context attribute or making a separate e-i-c for each of the dozens of possibilities?
I suspect that there is no way to do this in FOSI without using some ACL or maybe XPath, but I thought I would ask to see if anyone knows of a better way.