Quote Originally Posted by Dilshad View Post
I need to read onle line e.g first tag <abc> from one xml file and then compare <abc> to a tag in another file.
There is a difference between reading line by line and reading tag by tag. Tags don't have to be in separate lines - one tag can occupy multiple lines and one line can contain multiple tags. Check your file first with a text editor to see how it is organized.