Home » U++ Library support » U++ SQL » XmlNode and text
XmlNode and text [message #37406] |
Sun, 30 September 2012 21:22  |
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?
|
|
|
Goto Forum:
Current Time: Tue Jun 03 00:39:24 CEST 2025
Total time taken to generate the page: 0.02596 seconds
|