The binds-existing
attribute can be used in conjunction with the binds-to
attribute to indicate that, when reading a data file, no new set elements will be created, allowing for a filtering mechanism where a data file can only be partially read for the nodes that correspond to existing set elements in the model.
I have a predefined set named t with valued {1,2,3,4}.
I want to read an Excel file which contains a column named “time” having values (e.g., 0, 5, 6) not included in the previous set, which I do not want to add to set t.
I am specifying the binds-existing attribute in the DEX mapping as follows:
<ColumnMapping name=”time" binds-existing="t" binds-to="t" />
I have not changed the skip-non-existing
attribute, so I was expecting that binds-existing
attribute would not add the referred values (0, 5, 6) into the predefined set t. However, it still does.
What am I doing wrong? Did I correctly specify the binds-existing
attribute?
Thank you very much
PS: There are almost no specific examples on using DEX attributes. I’ve looked for in the Documentation, the Community, and the internet.