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
Re: XmlNode and text [message #37419 is a reply to message #37406] Tue, 02 October 2012 08:06 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
CreateText is "Node altering method". We need that to behave this way because in some cases, you really need to change the node type from TAG to TEXT. And GetAdd really needs to return the node created...

I suggest using "AddText":

pr.GetAdd("Project").GetAdd("Application").GetAdd("Init").GetAdd("Is").AddText(AsString((int)gIntSlot));

[Updated on: Tue, 02 October 2012 08:07]

Report message to a moderator

 
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: Fri Jun 06 06:09:16 CEST 2025

Total time taken to generate the page: 0.04745 seconds