See http://marc.theaimsgroup.com/?l=xerces-c-dev&m=102016088320487&w=2.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 6:28 AM To: [EMAIL PROTECTED] Subject: problem during compiling in VC++6 SP5 Hi, can somebody help me out over this part, i have written a small code using xerces c++ 1.6, but the application keep on crashing, can someone point out what the problem with it, thanks here are the code int main(int argc, char* argv[]) { XMLPlatformUtils::Initialize(); DOMParser theParser; //theParser.setToCreateXMLDeclTypeNode(false); //theParser.setDoValidation(true); //theParser.setDoNamespaces(true); //Parse and retrieve a tree structure of this xml, stores in theDOM object theParser.parse("tempDig.xml"); const DOM_Document theDOM = theParser.getDocument(); //Get a list of elements that lies within the List tag DOM_NodeList Node_list = theDOM.getElementsByTagName("List"); DOM_Element elm = (DOM_Element&)Node_list.item(0); DOM_NodeList deviation = elm.getElementsByTagName("deviation"); // DOM_NodeList fault = elm.getElementsByTagName("fault"); // DOM_NodeList consequence = elm.getElementsByTagName("consequence"); XMLPlatformUtils::Terminate(); return 0; } Mank thanks Regards Kit _________________________________________________________________ �b http://explorer.msn.com.hk/intl.asp �K�O�U�� MSN Explorer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
