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++ SQL » XmlNode and text
XmlNode and text [message #37406] Sun, 30 September 2012 21:22 Go to previous message
mubeta is currently offline  mubeta
Messages: 77
Registered: October 2006
Member
It is my misundertand, or there is a bug in the XmlNode object?

Short example:
XmlNode pr;
pr.GetAdd("Project").GetAdd("Application").GetAdd("Init").GetAdd("Is").At(0).CreateText(AsString((int)gIntSlot));

This code will create the text for the node named "Is", but in fact I must create a sub node using .At(0)...

What I don't understand is why the most intuitive way:
XmlNode pr;
pr.GetAdd("Project").GetAdd("Application").GetAdd("Init").GetAdd("Is").CreateText(AsString((int)gIntSlot));

Don't create the text for the correct node in the chain?
 
Read Message
Read Message
Previous Topic: How do I load sqlite3 .sql with triggers on it?
Next Topic: Automatic Upgrade MySQL schema
Goto Forum:
  


Current Time: Tue Jun 03 00:39:24 CEST 2025

Total time taken to generate the page: 0.02596 seconds