×

Discussion Board

Results 1 to 3 of 3

Thread: XML Parsing

  1. #1
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    73

    XML Parsing

    void CparsingAppUi::ParseFileCompleteL()
    {
    if (iXMLDoc) delete iXMLDoc; // in case this method gets called twice
    iXMLDoc = iXMLParser->DetachXMLDoc();
    CActiveScheduler::Stop();
    }

    Here CMDXMLElement* xmlElement = iXMLDoc->DocumentElement() copys the DOM of XML file created. But How can i get those values inside the xml tags? Pls help.

  2. #2
    Registered User
    Join Date
    Jan 2006
    Posts
    18

    Re: XML Parsing

    Try navigating the DOM tree using CMDXMLNode

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    31

    Re: XML Parsing

    You can download an XML parser such as kXML, NanoXML, or TinyXML (http://developers.sun.com/techtopics...s/parsingxml/).

    Put the .jar file in the 'lib' directory of your application.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×