I hope somebody can help me.
Ive following challange:
I need to write a CMD Script that will read a specific string from an XML file and use it as a variable.
my XML is located here:
and the line from which I need the specific value looks like this:
<field level = "system" name = "Document count in batch" value = "10"/>
I want to have the String 10 as a variable.
Problem is, 10 can be also 1 and also 100 (length varies)
I tried with findstr command, but there I found just an option to look for specifc position.
Is there a way to find string based on pattern?
something like this:
findstr "Document count in batch" value = "%thisIsMyVariable%"/>
any Help is highly appreciated