Of course…in Workflow, you simply set-up a text condition using the plug-in “Text Condition”. The you right-click in the field “String” and you select “Get Data Location”. The rest is self explanatory. The result will be a branch that goes right when true and keep going straight when false.
It is possible to open up an XML file within the workflow and read a node value into a variable.
First you’ll want to create a Branch and do a Folder Capture to open the XML file.
Next, define your variable name by creating either a local or global variable as needed.
Finally, you’ll need to use Set Job Infos and Variables. Select the variable you created previously and in the Value you’ll right click and use Get Data Location to select the ‘DOC’ node in your XML. Now you’ve got the value in a variable that can be used elsewhere in the workflow.
However, one problem I can forsee will be this: How are you determining what XML file to load? Is there a value in your datamapper that tells you which one? You say they have random names above… so it’s the link between the two that might be tricky.