Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Not able to read node from text file using C# code

$
0
0

Hi,

I am trying to read a node from text file using C# code.

For example:

<AccountNickName>E2E Testing</AccountNickName>

I want to retrieve E2E Testing from text file(This is not a XML file).

And one more thing this text file not as XML file like nested and well formed. This is a flat file. But my requirement is to retrieve all the data which is enclosed with <>data</>. Here I want to read this data from huge size of text file (log file).



Viewing all articles
Browse latest Browse all 31927

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>