The Jason Salas Experience

Guam's Mr. Media - making people think, making people laugh, pissing people off

Tuesday, November 29, 2005

Reading RSS in .NET DataSet not as easy you might think

I ran into a problem today when trying to use the .NET DataSet.ReadXml(string pathToXML) method to read-in the contents of an RSS feed. The relational nature of the DataTable objects within DataSets doesn't digest the replicated tags within RSS. This results in the offensive "The same table (xxxx) cannot be the child table in two nested relations" error being thrown.

I found a workaround that uses XSLT to get the data in an appropriate structure.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home