christophe.k |
Newbie |
|
Belgium |
|
|
None Specified |
|
Sunday, March 29, 2020 |
Wednesday, June 23, 2021 1:34:32 PM |
2 [0.01% of all post / 0.00 posts per day] |
|
Never mind, found the solution. Apparently my mapping was wrong
Instead of adding the exists value on the parent node, I added an if-else to add the specific value
|
How can I check it a node exists and is not empty?
I tried the exists function and it works, but it does not work for nodes which occur more than once.
Imagine there are 2 details, the first detail has the node BatchNumber and the second detail has not. If I use the exists function, it will always return true. How can I check that the BatchNumber in the second details exists?
In this case BatchNumber is a string, but in the case of ExpiryDate, we are talking about a date, so stirng functions are out of the question.
Thank you in advance.
|
|