views:

52

answers:

1

let me brief there is a file (it might be anything sgml,xml,sgml etc).i will give that file as input and read the file using c#..so the job is now that i know that there are certain tags where in between this data is present...so the point is i have to scan that line by line like pattern matching and extract the data which is present in between tags ,...so please help me getting this ...

A: 

I think if file is some how in xml format you can use XPath to traverse/manipulate its elements..

http://support.microsoft.com/kb/308333 http://www.codeproject.com/KB/cpp/myXPath.aspx

Regards.

Shoaib Shaikh