Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » how to check specific end tag in a xml file?
Re: how to check specific end tag in a xml file? [message #35802 is a reply to message #35785] Thu, 22 March 2012 10:45 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Ayana.

ayana wrote on Wed, 21 March 2012 11:57

How to check for a specific end tag in the large XML file while parsing it?


ayana wrote on Wed, 21 March 2012 11:57

The user enters a name in an edit field of GUI, if the name entered matches with the gathered text of 'name tag' the corresponding person details should get add to XMLTree.


There is XML reference example about methods to parse XML files with XmlParser and XmlNode. As well as AddressBookXML and AddressBookXML2 examples.

I will show you following source code about how to search "name" tag for specified names and changing found "person" data, using XmlNode:
Toggle Spoiler

With following XML file:
Toggle Spoiler

You will get following output:
Toggle Spoiler

and changed XML file:
Toggle Spoiler

[Updated on: Thu, 22 March 2012 12:46]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ParseXML intermittent crash
Next Topic: bug in http.cpp
Goto Forum:
  


Current Time: Sun May 05 16:41:57 CEST 2024

Total time taken to generate the page: 0.02501 seconds