If you want to filter some fields based on other fields, you need to use some other components such as ExtFilter
. Such filtering cannot be done directly in the XMLWriter component.
If you want me to prepare an example for you, please provide me with valid input XML files and more detailed description of what the filtering should look like. Also, some graph you've been able to develop so far would be useful.