473,503 Members | 972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

reading an xml file into variables

im runninb vb6 sp6

im having to read a xml file from a third party to update our records and
need help

the xml file can hold any number of pynent details

<SubmissionResults xmlns="http://bacs.co.uk/submissions"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

submissionIdentifier="1117541180734CcTf5MW0i"
status="complete"
submissionType="fullTest"
submissionSerialNumber="000045"
submissionDateAndTime="Tue May 31 13:06:30 BST 2005"
submissionEarliestDate="2005-06-01">

<SubmittingServiceUser
userNumber="B40107"
name="A NAMED BUREAU LTD"/>

<SubmittingContact contactIdentifier="NAME123456"
fullName="MR ANY NAME" />

<SigningContact contactIdentifier="NAME123456"
fullName="MR ANY NAME"/>
<PaymentFile status="complete"
index="1"
paymentFileIdentifier="001"

processingDay="2005-06-01"
currency="GBP"
creditRecordCount="0"
creditValueTotal="0"
debitRecordCount="0"
debitValueTotal="0"
ddiRecordCount="2"
workCode="1 DAILY ">


<OriginatingServiceUser userNumber="090909"
name="A NAMED ENTERPRISE LIMITED"/>

</PaymentFile>

<PaymentFile status="complete"
index="2"
paymentFileIdentifier="001"

processingDay="2005-06-01"
currency="GBP"
creditRecordCount="0"
creditValueTotal="0"
debitRecordCount="19"
debitValueTotal="150984"
ddiRecordCount="0"
workCode="1 DAILY ">


<OriginatingServiceUser userNumber="121212"
name="A PRIVATE COMPANY"/>

</PaymentFile>

</SubmissionResults>

has anybody any simple code that will read this and assign the values to
each section to variables ?

Nov 21 '05 #1
1 985
"Peter Newman" <Pe*********@discussions.microsoft.com> schrieb
im runninb vb6 sp6


Have a look @ one of the VB6 groups: (this one's for VB.Net)
microsoft.public.vb.*

Armin

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3040
by: Xah Lee | last post by:
# -*- coding: utf-8 -*- # Python # to open a file and write to file # do f=open('xfile.txt','w') # this creates a file "object" and name it f. # the second argument of open can be
6
12700
by: Suresh Kumaran | last post by:
Hi All, Does anybody know the sytax in VB.NET to write the contents of a multiline text box to a text file? Appreciate help. Suresh
7
14638
by: Santah | last post by:
hi I'm new to C++ and I'm currently working on Visual C++ 6.0 I'm trying to open a text file, and read some data from it part of the text file looks like this: --------
7
2542
by: Daniel Moree | last post by:
I'm working on a program that must first establish if the file exists in the program directory then it must open if for reading, read each line and set the variables then the program goes on about...
7
5528
by: jccorreu | last post by:
I've got to read info from multiple files that will be given to me. I know the format and what the data is. The thing is each time we run the program we may be using a differnt number of files,...
1
5653
by: Andrea Gavana | last post by:
Hello NG, that may sound a silly question, but I didn't find anything really clear about the issue of reading unformatted big endian files with Python. What I was doing till now, was using...
4
20721
waynetheengineer
by: waynetheengineer | last post by:
Hello everyone :) I am trying to write VB code for reading filenames and file property values in a specific directory. For example, I have a directory called C:/Bears and in that directory...
4
1841
by: isaac2004 | last post by:
hello, what i am trying to do is set up a loop that grabs multiple variables from an input file. my question is, is there a built in function in the istream class that can grab multiple values on...
6
3511
by: efrenba | last post by:
Hi, I came from delphi world and now I'm doing my first steps in C++. I'm using C++builder because its ide is like delphi although I'm trying to avoid the vcl. I need to insert new features...
5
5029
by: imailz | last post by:
Hi all, since I'm forced to switch from Fortran to C I wonder if there is posibility in C: 1) to use implicit loops 2) to parse several variables which number is determined at runtime. ...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7089
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1515
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.