Re: MSXML4 (Document Object Model XML), read the file, read the variables, fill it, send over socket
- From: "Serge Wautier" <serge@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 16 Feb 2008 14:25:34 +0100
You'll find samples all over the Internet.
Jst one detail: Use MSXML6. MSXML4 is an older version that is not distributed with Windows. MSXML6 OTOH is part of most recent versions of Windows and updates are distributed through Windows Update.
As far as coding is concerned, the only difference between the 2 (as far as simple parsing is concerned) are the COM ProgIds!
HTH,
Serge.
http://www.apptranslator.com - Localization tool for your MFC applications
"Andreas Hoffmann" <andreas_hoffmann2@xxxxxxxx> wrote in message news:7a236d77-bf36-444a-b96c-813d25211abb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello together,
I would like to make the following.
- <root>
- <header eventId="" version="" eventName="" timeStamp="">
<location lineNumber="" stationNumber="" stationIdent=""
toolPosition="0" processName="" application="" />
</header>
- <event>
<Processed identifier="" />
</event>
- <body>
<identifierType></identifierType>
I would like to read the XML file from harddisk.
I look for the Variables or for all, depend from the customer.
- lineNumber
- processName
- identifierType
and fill these.
After I placed it finished, I will send it over socket to the
customer.
Questions:
a) How can I read the XML file in memory?
b) How search I for the variables?
c) How I provide the new XML telegram?
d) How can I do examine for validity?
It is a valid xml file?
I would like to use MSXML 4 (Document Object Model XML DOM)
I need entered for that, I never use XML.
A simple example is for me the best. Thnak you very much.
Regards Andreas
.
- Follow-Ups:
- References:
- Prev by Date: Re: wizard wont recognize old dialog/cpp relationships
- Next by Date: Re: wizard wont recognize old dialog/cpp relationships
- Previous by thread: MSXML4 (Document Object Model XML), read the file, read the variables, fill it, send over socket
- Next by thread: Re: MSXML4 (Document Object Model XML), read the file, read the variables, fill it, send over socket
- Index(es):
Relevant Pages
|