I having a bit of trouble parsing an xml file with a namespace
XML Format
<rss version="2.0" xmlns:fh="http://rss.flightstats.com/ns/rss/1.0">
<channel>
<item>
<fh:FlightHistory FlightHistoryId="271955988" DepartureDate="2012-08-16 00:30" ArrivalDate="2012-08-16 04:09"
</fh:FlightHistory>
</item>
</channel>
I want to read fh:FlightHistory
attributes with C# , but I didn't find any solution .
Thanks in advance
Here's one in Regular expression
You can use
Linq-to-XML
andLinq
itselfOR