I have an XML template that contains a single publisher XML snippet that I want to dynamically expand to multiple instances of the same snippet, but of course with different configuration for each.
While I figured out that I can easily add new nodes via the leftShift operator on the projectXml, I don't seem to be able to override the child elements of the just copied nodes, because they're not yet visible.
I came up with the following workaround, but I found that rather ugly:
I have an XML template that contains a single publisher XML snippet that I want to dynamically expand to multiple instances of the same snippet, but of course with different configuration for each.
While I figured out that I can easily add new nodes via the
leftShift
operator on theprojectXml
, I don't seem to be able to override the child elements of the just copied nodes, because they're not yet visible.I came up with the following workaround, but I found that rather ugly:
Am I missing something or should this plugin somehow gain "flush" support to avoid these kind of hacks?