So,
I have this XPathDocument that I get back from a POST-request, and it basically looks like this:
<eExact xsi:noNamespaceSchemaLocation="eExact-XML.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Messages>
<Message type="0">
<Topic code="GLTransactions" node="GLTransaction">
<Data keyAlt="138100138" />
</Topic>
<Date>2013-04-10T16:57:00</Date>
<Description> Topic [GLTransactions] Bestaat reeds - Boekstuknummer: 138100138, Dagboek: 81, Boekjaar: 2013</Description>
</Message>
<Message type="2">
<Topic code="GLTransactions" node="Account">
<Data keyAlt="577" />
</Topic>
<Date>2013-04-10T16:57:00</Date>
<Description>Bijgewerkt</Description>
</Message>
<Message type="2">
<Topic code="GLTransactions" node="GLTransaction">
<Data keyAlt="138100140" />
</Topic>
<Date>2013-04-10T16:57:00</Date>
<Description>Aangemaakt</Description>
</Message>
</Messages>
</eExact>
This is way too much information, as I only need the following things: For every Message where the Topic node="GLTransaction" AND Message type=2, I need the Data KeyAlt and the Description.
The programming language is VB.NET.
Thanks a lot guys!