Re: how to parse a XML file?
"Chris Du" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Dear Jim, I did two tests about xmlextras: 1. I built the TestXMLExtras in Visual C++ without link to xmlextras.lib/dll and VC did not report any error. But when it executed, failed to create the instance of domparser. 2. I added some code to mfcembed to create domparser instance as well. At this time, I debug run mfcembeded and VC reported that /components/xmlextras.dll was loaded by mfcembed.exe. But still failed to create the domparser instance. I tried to create instances of other extensions I made myself, it was OK. Can you tell me what was wrong there? especially in case 2. Thank you very much. "Jim Patterson" <[email protected]> wrote in message news:[email protected]... > Chris Du wrote: >> I want to parse a local XML file. What interface/class/functions should I >> use? Can somebody give me an example? > > You could start with the XMLExtras page on Mozilla, > http://www.mozilla.org/xmlextras/. There are few examples in the test > directory that's linked from this page. > > -- > Jim Patterson > Ottawa, Ont > CANADA