Hi,
>Sorry... I should have specified...
>
>I need to G_BC_CAT fields for a specified date. Such a little task... but I don't really want to create a text parser to tear through it. I thought now would be a good time to figure out some unfamiliar XML fuctions.
Still not clear exactly what you want. Does something like this help:
XmlDocument xd = new XmlDocument();
xd.Load("e:\\tmp\\yield.xml");
XmlNodeList nl = xd.DocumentElement.SelectNodes("//G_NEW_DATE[BID_CURVE_DATE='05-DEC-06']//G_BC_CAT/*");
foreach (XmlNode n in nl)
{
Console.WriteLine(n.Name + ":" + n.InnerText);
}
Regards,
Viv