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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » XmlNode changes (warning: no exceptions anymore)
XmlNode changes (warning: no exceptions anymore) [message #3010] Wed, 03 May 2006 12:04
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
operator[](const char*) returns empty static (in theory, per thread) XmlNode instead of throwing the exception. (change forced by practice).

XmlNode now has GatherText, a simple solution for the common problem

<value>text value</value>

GatherText for "value" returns "text value".

Implemented as:

String XmlNode::GatherText() const
{
String r;
for(int i = 0; i < GetCount(); i++)
if(node[i].IsText())
r << node[i].GetText();
return r;
}

Mirek

[Updated on: Wed, 03 May 2006 12:29]

Report message to a moderator

Previous Topic: TheIDE bugfix (by Tom)
Next Topic: MapConvert, DropList now have operator[]...
Goto Forum:
  


Current Time: Thu May 02 16:55:42 CEST 2024

Total time taken to generate the page: 0.03031 seconds