Question : Query XML Dataset in C#

I have created a table in XML that contains two columns.  I want a user to enter a value that will match a record in column 1 and do a lookup and return the value of column 2 for that same record.  I know how to do this with a select statement and a SQL table, but for this application the tables are stored locally in XML.  Any assistance would be greatly appreciated an point awarded quickly.

I have successfully loaded the dataset using the code below, now I just need to know how to Queury that Dataset and return the value I am looking for.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;

namespace MyNamespace
{
    class Program
    {
        static void Main(string[] args)
        {
            DataSet ds = new DataSet();
            ds.ReadXml(@"DATA\DataSet.xml");
        }
     }
}

Answer : Query XML Dataset in C#

Here are a couple of tools that will help you in the mapping:
http://www.webreference.com/perl/tools/
 RSS Creator is a PERL script that will create a simple RSS file
 RSS Channel Editor is a PERL script that will create a RSS channel

For each tool, click on the "Try It" link and try out your mapping.  Once you figure out the mapping, then you can use a variety of languages that will parse your XML input and spit out the RSS Xml.
Random Solutions  
 
programming4us programming4us