[SOLVED] Selecting attribute subset specified in a "meta" exampleset
Suppose we have examplesetA with a (design-time-unknown) set of attributes:
a b c d e <-- attributes
1 2 3 4 5 <-- example 1
1 2 3 4 5 <-- example 2
We also have examplesetB holding (design-time-unknown) examples:
X <-- attribute
a <-- example 1
d <-- example 2
e <-- example 3
The output that is needed is
a d e
1 4 5
1 4 5
The examplesetB specifies how we want to select attributes in examplesetA.
What is the best way to do this in RM?
Should I create a regex by looping over the examples in B?
Should I select the attributes one at a time by looping over the examples in B, and join them all together in that loop?
Is there another simpler way that I'm not thinking about?
Thanks for any help.