Re: XML and DOM through MFC?
- From: David Wilkinson <no-reply@xxxxxxxxxxxx>
- Date: Sat, 27 May 2006 07:44:42 -0400
Harish wrote:
I am new to DOM and XML.
1. Certain device commands are to be stored in a reference file. The commands exchanged between the device and the PC should be trapped. The trapping component must parse through the reference file. It is recommended that the reference file be XML. Can I access Microsoft DOM through MFC?
2. The commands that are exchanged are to be stored as HTML and RTF. How can I do it through MFC?
Harish:
1. The Microsoft XML parser is called MSXML. AFAIK there are no MFC sepecific commands for working with it, but MSXML is a COM interface so you can access it using CoCreateInstance() etc. If you use .NET there are nicer ways to interact with XML (I am told).
2. If I were you I would use XHTML rather than HTML. One way to write it is to use MSXML. RTF can be written using CRichEditCtrl.
David Wilkinson
.
- Prev by Date: Re: CMap and Memory Leak
- Next by Date: Re: Triggering events in different dialogs with CAsyncSocket
- Previous by thread: pressed icon
- Next by thread: Re: XML and DOM through MFC?
- Index(es):