Yeah, I would agree. Nowhere else in your code are you using code
which passes the tag to be queried. Also, the schema of both files
appears to differ only by tag names, not structure, so it might be as
siimple as changing the names of the tags in the below code.

On Jan 22, 12:37 am, Brandon Betances <[email protected]> wrote:
> I would start by changing you select node calls.
>
> Dim nodeid As XmlNode = node.SelectSingleNode("id")
> Dim nodesubject As XmlNode = node.SelectSingleNode("subject")
> Dim nodeyear As XmlNode = node.SelectSingleNode("year")
>
> nodeid.InnerText = id
> nodesubject.InnerText = subject
> nodeyear.InnerText = year

Reply via email to