XML Parsing in Win98
-
Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.
-
Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.
TinyXML[^] will probably do the trick. It's a set of plain C++ files and is platform independant. EDIT: look here[^] first to check if that does what you need.
Cédric Moonen Software developer
Charting control -
Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.
See Simple XML Parsing on WinCE 4.2 Using C++ and MSXML[^]maybe it is some helpful to you
_**
**_
WhiteSky
-
See Simple XML Parsing on WinCE 4.2 Using C++ and MSXML[^]maybe it is some helpful to you
_**
**_
WhiteSky
-
Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.
anwar1026 wrote:
I needed a very light-weight XML parser in MFC.
-
Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.
MSXML comes with Internet Explorer (which is required to be installed with Windows in every OS since Win98). It has both a DOM and SAX parser. TinyXML implements as little of the DOM standard as possible to make a decent parser. You might call it DOM-lite, but it is still, technically, a DOM parser. The nice thing about it is that you can compile it into your application. Xerces is another opensource parser that supports the full DOM and SAX standards, but since you don't want to install a DLL, this probably isn't the route you want to go. Since your OS restriction is limited to the Windows family, your best bet is to use either TinyXML or MSXML. MSXML offers all the features you would ever need and then some, and is guaranteed to be installed on all the given OS's (just make sure you bind to an older version).
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week Zac