Populate XPath statements via variable

Good evening,

I was wondering if / how it’s possible to manage XPath declarations via variables. So to speak to dynamically define the amount of XPaths’ and for each a Columns name, XPath query, Type etc…

Thanks in advance
Mike

Hallo @mw,

Yes, you can use Flow Variables to dynamically define XPath query, column names, etc. If you use a Chunk Loop Start you can also dynamically define the amount of XPaths. Here is a small example workflow to show you how it can be done:

XPath_Dynamic_Columns.knwf (18.4 KB)

I hope this answers your question.

Best,
Janina

2 Likes