- 17
- 0
- 约7.55千字
- 约 9页
- 2017-08-17 发布于河南
- 举报
delphi中txmldocument控件的用法(Txmldocument controls in Delphi usage)
delphi中txmldocument控件的用法(Txmldocument controls in Delphi usage)
Delphi usage of TXMLDocument controls at 2008-12-31 10:40 a.m.
Delphi parsing XML documents do well than directly using the MS MSXML2_TLB interface to facilitate a lot, is described in the following.
Before you speak, give an example of XML, and it is easier to understand some parts in combination with an instance.
1, XML, version=, 1, encoding=, GB2312, -- document version information, annotation format is the same as HTML--
2 XMLPackage
3 clinetinfo ip= 202.101.100.90 handler= Si unit= Jiangsu network software
4 data
5 row id= 1 name= sun sex= male age= 24 duty= software engineer /
6 row id= 2 name= Moon sex= female age= 25 duty= manager
7! --data contains two examples of row, to be distinguished by attribute -- ID
8 /data
9 memo length= 16 color= $0034494B Hello! I am Yaya! /memo! - this includes the contents of elements as Text, but also contains two attributes of length, color, of course, there will be no attribute --
10 Actions acition= update/insert / ! -- the element describes a motion control information --
11/XMLPackage
The TXMLDocument control provides us two common practice: one, directly with the properties and methods of the package to read and write XML files, I called it their analytical method; two, with the XML Data Binding Wizard controls to create a user interface for their unit, many interfaces and then follow this interface unit provide to achieve similar XML file read and write, very convenient, but there are limitations, I call it controls the analytical method. I will focus on the first method of use.
First, the analysis of their own:
The following three categories Ill tell you are five actions: create, read, modify, add, and delete.
(1) create and add:
First, you create the XML instance, so you can create it dynamically:
TXMLDocument.Create (F:\Work\ \task\XML\lab_xml\country.xml files);
You can also create dynamically like this:
Xml:= TXMLDocument.Create (NIL);
Xml. Loa
您可能关注的文档
- 26民诉法之仲裁协议(09年司考三大本分段学习)(The law of arbitration agreement in 26 (09 years and three big Scott subsection learning)).doc
- 27-遥感技术在抗震及灾后恢复重建中的应用(Application of 27- remote sensing technology in earthquake and post disaster reconstruction).doc
- 268-惠州市城市燃气发展有限公司(268- Huizhou City Gas Development Co., Ltd.).doc
- 28民诉法之申请撤销仲裁裁决(09年司考三大本分段学习)(The application of the law of 28 revocation of an arbitral award (09 years and three big Scott subsection learning)).doc
- 29659家庭治疗自考大纲(29659 family therapy self examination outline).doc
- 2ca6140车床后托架加工工艺及夹具设计(Processing technology and fixture design of the back bracket of 2ca6140 lathe).doc
- 29民诉法之仲裁裁决的执行与不予执行(09年司考三大本分段学习)(The Arbitration Law of the 29 execution of the award and non enforcement (09 years and three big Scott subsection learning)).doc
- 2、8、10、16进制转换(2, 8, 10, 16 hexadecimal conversion).doc
- 2刑诉法之刑事诉讼法的基本原则(09年司考三大本分段学习)(The basic principles of criminal procedure law of criminal procedure law of the 2 (09 years and three big Scott subsection learning)).doc
- 2梁庆兰点击学科特点,渗透创新教育理念(2, Liang Qinglan clicks on the discipline characteristics to permeate the idea of innovative education).doc
- 广东省广州省实验中学教育集团2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州大学附属中学2025-2026学年八年级上学期奥班期中物理试题(解析版).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(含答案).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(解析版).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 2026《中国人寿上海分公司营销员培训体系优化研究》18000字.docx
- 《生物探究性实验教学》中小学教师资格模拟试题.docx
最近下载
- 2025年北京中考英语大纲课件.pdf VIP
- 加油站安全管理研究.doc VIP
- (高清版)DB42∕T 1086-2015 《森林土壤有机质的测定 分光光度法》.pdf VIP
- QBNM-PS-0011—2020汽车车身内腔防护蜡标准.pdf VIP
- 广发证券-房地产行业2026年投资策略-星垂平野阔,月涌大江流.pdf VIP
- 2026年春节复工复产安全培训开工第一课全文.ppt
- 2025年烟台汽车工程职业学院单招语文测试模拟试卷优选题库.docx VIP
- 三副实习记录簿附页(精.选).docx VIP
- 2025年信息系统安全专家多方安全计算协议专题试卷及解析.pdf VIP
- 2025年拍卖师拍卖会PPT与多媒体素材播放技术保障专题试卷及解析.pdf VIP
原创力文档

文档评论(0)