Read XML value

google_groups3_at_hotmail.com
Date: 08/11/04


Date: 11 Aug 2004 09:21:42 -0700

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 "RefreshInterval"

  <?xml version="1.0" ?>
- <!-- XML File -->
- <MyApp>
   - <Configuration>
      - <Folders Count="4">
        <F0>c:\Testing\Upload</Src0>
        <F1>c:\Testing\Download</Src1>
        <F2>c:\Downloads</Src2>
        <F3>c:\Debug</Src3>
     </SourceFolders>
   - <AutoRefresh>
        <RefreshInterval>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!



Relevant Pages

  • Re: New MSSecure.XML Version 2005.07.12.0 Now Available
    ... This posting is provided "AS IS" with no warranties, ... If newsgroup discussion with experts and MVPs is unable to solve a problem ... > Is there an update for the MSOffice XML file for the MS Word ... >>> Microsoft Baseline ...
    (microsoft.public.security)
  • Re: Simple XML Example
    ... > I have a very simple query that gets a few records from a database. ... > data to an XML file, but I'm lost on the syntax for actually posting ... Please reply to the newsgroup. ... quicker response by posting to the newsgroup. ...
    (microsoft.public.inetserver.asp.general)
  • XML Documents in Word
    ... I am possibly posting to a wrong group but this one just seems to be closest ... I created an XSD schema to be used with a Microsoft Word document that is, ... So I have this XML file and now want to change the data inside the elements ...
    (microsoft.public.office.developer.automation)
  • Re: Exchange & IIS Services crash with 7031/7034 Errors
    ... Thanks so much for posting this to all of the threads - it fixed our ... we could have been onto Symantec for a while getting this ... bad ruleset included with a recent update. ... Be sure to make a backup of the .xml file before proceeding. ...
    (microsoft.public.exchange.admin)
  • Re: Basic Login Page
    ... Shadowfax Dev Team ... This posting is provided "AS IS" with no warranties, ... > thing that checks your username against a XML file that stores username ...
    (microsoft.public.dotnet.framework.aspnet.security)

Loading