Quantcast
Channel: A batch file to extract the value of a specific XML tag - Stack Overflow
Viewing all articles
Browse latest Browse all 2

A batch file to extract the value of a specific XML tag

$
0
0

**I need a batch file that retrieves the Data tag value only (without the tag name) and writes it down into a .txt file. This file might have more XML tags than those listed.

So the output should be:

Capital gains are the key ingredient of income disparity in the US-- and the force behind the winner takes all mantra of our economic system. If you want even out earning power in the U.S, you have to raise the 15% capital gains tax.**

My file looks like this :**

<TABLE>Table 30<ROW>Multiple Rows<DATA>Capital gains are the key ingredient of income disparity in the US-- and the force  behind the winner takes all mantra of our economic system. If you want  even out earning power in the U.S, you have to raise the 15% capital gains tax.</DATA></ROW></TABLE>

Viewing all articles
Browse latest Browse all 2

Trending Articles