Actually I was thinking of adding dynamic parameters passed to the compound, like arg1="value1" arg2="value2" and so on. And in the compound you would have cond="arg1 == 1 and arg2 == 2". And is seems similar to the arr attribute. And it seems more flexible to me and easier to implement
. Also I think I can get it to work with arrays too. So instead of arg3="value" you can have arg3="array".
This seems pretty easy to implement. All in all I want to code in a way that is compatible with the rest of the stuff, like nifskope and niflib and to make the nif.xml compatible with everything as much as possible.
I think I know the problem with nifskope, you pass the arguments for each vertex and if you have 15 thousand vertices, it might take a while.