How can I extract an STRING like \"US_NY\" between the tags from a XML file? I tried it with FINDSTR, but the line breaks are
sed for Windows
sed -n "//{n;p}" file.xml
in a batch file:
for /f %%a in ('sed -n "//{n;p}" file.xml') do set "location=%%a" echo(%location%