xmldocument := TXMLDocument.Create(nil);
xmldocument.Active := true;
xmldocument.Version := '1.0';
xmldocument.Encoding := 'UTF-8';
xmldocument.Options := [doNodeAutoCreate, doNodeAutoIndent];
xmlnode := xmldocument.AddChild('List');
xmlnode.SetAttribute('Description','List Section');
xmlnode := xmlnode.AddChild('ServerConfig');
xmlnode := xmlnode.AddChild('AllowLogin');
。
这个地方如何写?
xmldocument.SaveToFile(ConfigFile);
xmldocument.Active := true;
xmldocument.Version := '1.0';
xmldocument.Encoding := 'UTF-8';
xmldocument.Options := [doNodeAutoCreate, doNodeAutoIndent];
xmlnode := xmldocument.AddChild('List');
xmlnode.SetAttribute('Description','List Section');
xmlnode := xmlnode.AddChild('ServerConfig');
xmlnode := xmlnode.AddChild('AllowLogin');
。
这个地方如何写?
xmldocument.SaveToFile(ConfigFile);
解决方案 »
- interbase中的sql语句有没有直接实现两个数相乘的函数?
- 调用AdjustTokenPrivileges函数,出现错误,请高手解决
- 谁用过PowerTCP Emulation for ActiveX的VT Control终端显示控件,没发显示中文啊,求救。
- 如何实现按下某个按纽为true按下其他任何地方(一个控件除外)为false?
- 新年,放分~~
- 问个问题,我在一个image上放一个richedit,,能不能让richedit的背景是透明的。这样我就可以看到整个image了?现在richedit的背景是白的
- 怎样找到datamodule组件
- @@@@各位帮我一个忙,把这几个贴子给结了!就算送分吧,多谢各位高手的帮忙!
- 怎样取到两个日期差多少年?
- 为什么在一个事件中执行到第二个事务会报错: 'List index out of bounds(6)'
- 怎样把打印纸张默认值设置为A4横向
- 求教dbgrid 显示格式!
xmlnode := xmlnode.AddChild('AllowLogin');
xmlNode.NodeValue:='true';