I have an multiple XML documents that look like this (example):
I have a split function to split based on empid into two documents
Now, for each document, I want to check individual tags and route to a sub process. So
a)empid - if not null, call subprocess1
b)empname - if not null, call subprocess2
My question is what is the best way to implement the routing part - from what I see, the decision or business rules only handle one check at a time - is there a shape that can handle multiple checks and route based on the XML tag?
In the future, i might want to introduce a new tag in the XML - what is most dynamic way to handle 1..n tags?