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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top