Link to home
Start Free TrialLog in
Avatar of PNRT
PNRT

asked on

Reading xml file in VB.Net

Hi Experts.   I have this xml file output from a system so it cant be changed, that sends emails and am struggling to get the right output in VB.Net.  Basically just need to get   "Update Report",  "Report.txt" and   "C:\Reports"   but strugling with system.xml.   Have tried various examples from the net but getting many errors.   Any help would be appreciated.   Thanks.

<?xml version="1.0" encoding="UTF-8"?>
<OutLook>
      <EmailItems>
            <EmailItem Show="true">
                  <Subject>
                        <![CDATA[Update Report]]>
                  </Subject>
                  <Attachments>
                        <Attachment FileName="Report.txt">
                              <![CDATA[C:\Reports]]>
                        </Attachment>
                  </Attachments>
            </EmailItem>
      </EmailItems>
</OutLook>
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PNRT
PNRT

ASKER

Worked first time - thank you