XML reading

  • Thread starter Thread starter Kimmo Laine
  • Start date Start date
K

Kimmo Laine

Hi,

lets say that i have the following XML:

<header>
<version>1.0.0.0</version>
</header>
<queuename>
DXRMTest
</queuename>

I want to code something like this:

string xmlVersion = foo.GetValue( "header/version" );

Is there a way to do this in .NET: XmlReader, XPATH, ...?



thx

Kimmo Laine
 
Back
Top