OK, this is driving me nuts but it must be easier than it seems to me.
Below is an XML file I have been given. I can write to it fine but I
just cannot work out the code for reading a value. So, can anyone
show me how?? I want to read the value "RefreshInterva l"
<?xml version="1.0" ?>
- <!-- XML File -->
- <MyApp>
- <Configuratio n>
- <Folders Count="4">
<F0>c:\Testing\ Upload</Src0>
<F1>c:\Testing\ Download</Src1>
<F2>c:\Download s</Src2>
<F3>c:\Debug</Src3>
</SourceFolders>
- <AutoRefresh>
<RefreshInterva l>15</RefreshInterval >
</AutoRefresh>
</Configuration>
</SafeGuard>
I have googled my ass off but not found an example that works. So, by
posting my XML file I am hoping that someone can show me how to read
that value.
TIA
p.s. sorry if this has been asked a million times!
Below is an XML file I have been given. I can write to it fine but I
just cannot work out the code for reading a value. So, can anyone
show me how?? I want to read the value "RefreshInterva l"
<?xml version="1.0" ?>
- <!-- XML File -->
- <MyApp>
- <Configuratio n>
- <Folders Count="4">
<F0>c:\Testing\ Upload</Src0>
<F1>c:\Testing\ Download</Src1>
<F2>c:\Download s</Src2>
<F3>c:\Debug</Src3>
</SourceFolders>
- <AutoRefresh>
<RefreshInterva l>15</RefreshInterval >
</AutoRefresh>
</Configuration>
</SafeGuard>
I have googled my ass off but not found an example that works. So, by
posting my XML file I am hoping that someone can show me how to read
that value.
TIA
p.s. sorry if this has been asked a million times!
Comment