在 IWNativeXml 单元. 知道了这个, 以后在其他 Delphi 程序中也可以直接 Uses IWNativeXml 了.


TNativeXml (IWNativeXml.TNativeXml

property AbortParsing: Boolean
property BinaryEncoding: TBinaryEncodingType
property CommentString: UTF8String
property DropCommentsOnParse: Boolean
property EncodingString: UTF8String
property ExternalEncoding: TStringEncodingType
property FloatAllowScientific: Boolean
property FloatSignificantDigits: Integer
property IndentString: UTF8String
property Root: TXmlNode
property RootNodeList: TXmlNode
property StyleSheetNode: TXmlNode
property UseFullNodes: Boolean
property Utf8Encoded: Boolean
property VersionString: UTF8String
property WriteOnDefault: Boolean
property XmlFormat: TXmlFormatType
property ParserWarnings: Boolean
property EntityByName[AName: UTF8String]: UTF8String property OnNodeCompare: TXmlNodeCompareEvent
property OnNodeNew: TXmlNodeEvent
property OnNodeLoaded: TXmlNodeEvent
property OnProgress: TXmlProgressEvent
property OnUnicodeLoss: TNotifyEvent constructor Create
constructor CreateName(const ARootName: UTF8String)
class destructor Destroy
procedure Assign(Source: TPersistent)
procedure Clear
function IsEmpty: Boolean
procedure LoadFromStream(Stream: TStream)
procedure LoadFromFile(const AFileName: string)
procedure ReadFromString(const AValue: UTF8String)
procedure ResolveEntityReferences
procedure SaveToStream(Stream: TStream)
procedure SaveToFile(const AFileName: string)
function WriteToString: UTF8String
function GetEntityByName(AName: UTF8String): UTF8String

TXmlNode (IWNativeXml.TXmlNode

property AttributeCount: Integer
property BinaryEncoding: TBinaryEncodingType
property BinaryString: RawByteString
property CascadedName: UTF8String
property Document: TNativeXml
property ElementType: TXmlElementType
property FullPath: UTF8String
property Name: UTF8String
property Parent: TXmlNode
property NodeCount: Integer
property Tag: Integer
property TotalNodeCount: Integer
property TreeDepth: Integer
property ValueAsBool: Boolean
property ValueAsDateTime: TDateTime
property ValueAsInt64: Int64
property ValueAsInteger: Integer
property ValueAsFloat: Double
property ValueAsString: UTF8String
property ValueAsUnicodeString: string
property ValueDirect: UTF8String
property WriteOnDefault: Boolean property AttributeByName[const AName: UTF8String]: UTF8String
property AttributeByNameWide[const AName: UTF8String]: string
property AttributeName[Index: Integer]: UTF8String
property AttributePair[Index: Integer]: UTF8String
property AttributeValue[Index: Integer]: UTF8String
property AttributeValueAsUnicodeString[Index: Integer]: string
property AttributeValueAsInteger[Index: Integer]: Integer
property AttributeValueDirect[Index: Integer]: UTF8String
property Nodes[Index: Integer]: TXmlNode constructor Create(ADocument: TNativeXml)
constructor CreateName(ADocument: TNativeXml; const AName: UTF8String)
constructor CreateNameValue(ADocument: TNativeXml; const AName: UTF8String; const AValue: UTF8String)
constructor CreateNameValue(ADocument: TNativeXml; const AName: string; const AValue: string)
constructor CreateType(ADocument: TNativeXml; AType: TXmlElementType)
procedure Assign(Source: TPersistent)
procedure Delete
procedure DeleteEmptyNodes
class destructor Destroy
procedure AttributeAdd(const AName: UTF8String; AValue: Integer)
procedure AttributeAdd(const AName: UTF8String; const AValue: UTF8String)
procedure AttributeDelete(Index: Integer)
procedure AttributeExchange(Index1: Integer; Index2: Integer)
function AttributeIndexByname(const AName: UTF8String): Integer
procedure AttributesClear
procedure BufferRead(var Buffer; Count: Integer)
procedure BufferWrite(const Buffer; Count: Integer)
function BufferLength: Integer
procedure Clear
function FindNode(const NodeName: UTF8String): TXmlNode
procedure FindNodes(const NodeName: UTF8String; const AList: TList)
function FromAnsiString(const s: AnsiString): UTF8String
function FromUnicodeString(const W: string): UTF8String
function HasAttribute(const AName: UTF8String): Boolean
function IndexInParent: Integer
function IsClear: Boolean
function IsEmpty: Boolean
function IsEqualTo(ANode: TXmlNode; Options: TXmlCompareOptions; MismatchNodes: TList): Boolean
function NodeAdd(ANode: TXmlNode): Integer
function NodeByAttributeValue(const NodeName: UTF8String; const AttribName: UTF8String; const AttribValue: UTF8String; ShouldRecurse: Boolean): TXmlNode
function NodeByElementType(ElementType: TXmlElementType): TXmlNode
function NodeByName(const AName: UTF8String): TXmlNode
procedure NodeDelete(Index: Integer)
procedure NodeExchange(Index1: Integer; Index2: Integer)
function NodeExtract(ANode: TXmlNode): TXmlNode
function NodeFindOrCreate(const AName: UTF8String): TXmlNode
function NodeIndexByName(const AName: UTF8String): Integer
function NodeIndexByNameFrom(const AName: UTF8String; AFrom: Integer): Integer
function NodeIndexOf(ANode: TXmlNode): Integer
procedure NodeInsert(Index: Integer; ANode: TXmlNode)
function NodeNew(const AName: UTF8String): TXmlNode
function NodeNewAtIndex(Index: Integer; const AName: UTF8String): TXmlNode
function NodeRemove(ANode: TXmlNode): Integer
procedure NodesClear
procedure NodesByName(const AName: UTF8String; const AList: TList)

使用 IntraWeb (31) - IntraWeb 的 Xml 操作使用的是 NativeXml的更多相关文章

  1. LINQ系列:LINQ to XML操作

    LINQ to XML操作XML文件的方法,如创建XML文件.添加新的元素到XML文件中.修改XML文件中的元素.删除XML文件中的元素等. 1. 创建XML文件 string xmlFilePath ...

  2. T-Sql(五)xml操作

    t-sql中的xml操作在我们平时做项目的过程中用的很少,因为我们处理的数据量很少,除非一些用到xml的地方,t-sql中xml操作一般用在数据量很大,性能优化的地方,当然我在平时做项目的时候也是没用 ...

  3. XML格式示例 与 XML操作(读取)类封装

    header('Content-Type: text/xml'); <?xml version="1.0" encoding="utf-8" standa ...

  4. 【Java EE 学习 33 上】【JQuery样式操作】【JQuery中的Ajax操作】【JQuery中的XML操作】

    一.JQuery中样式的操作 1.给id=mover的div采用属性增加样式.one $("#b1").click(function(){ $("#mover" ...

  5. 简单的XML操作类

    /// <summary> /// XmlHelper 的摘要说明. /// xml操作类 /// </summary> public class XmlHelper { pr ...

  6. .net学习笔记---xml操作及读写

    一.XML文件操作中与.Net中对应的类 微软的.NET框架在System.xml命名空间提供了一系列的类用于Dom的实现. 以下给出XML文档的组成部分对应.NET中的类: XML文档组成部分 对应 ...

  7. C#常用操作类库三(XML操作类)

    /// <summary> /// XmlHelper 的摘要说明. /// xml操作类 /// </summary> public class XmlHelper { pr ...

  8. php xml 操作。

    参考 文章:http://www.cnblogs.com/zcy_soft/archive/2011/01/26/1945482.html DOMDocument相关的内容. 属性: Attribut ...

  9. XML Helper XML操作类

    写的一个XML操作类,包括读取/插入/修改/删除. using System;using System.Data;using System.Configuration;using System.Web ...

随机推荐

  1. centos6.7安装系统后看不到网卡无法配置IP的解决办法

    新安装centos6.7后发现/etc/sysconfig/network-scripts目录下没有eth0的网卡配置,通过ifconfig可以看到eth0的硬件地址 于是新建网卡输入一下内容 # c ...

  2. vue系列之获取多选框中被选中的值

    多个勾选框,绑定到同一个数组: <input type="checkbox" id="jack" value="Jack" v-mod ...

  3. MyCP(课下作业,必做)

    作业要求 编写MyCP.java 实现类似Linux下cp XXX1 XXX2的功能,要求MyCP支持两个参数: java MyCP -tx XXX1.txt XXX2.bin 用来把文本文件(内容为 ...

  4. STM32F412应用开发笔记之七:片上ADC的应用测试

    在我们的应用项目中需要采集一些模拟量,这些量使用MCU自带的ADC就可以满足要求.在NUCLEO-F412ZG实验板上的STM32F412ZG有一个16通道的ADC,我们试验用它采集几个数据. 在NU ...

  5. cf792b循环链表

    头尾链接一下就好, /* 1 2 3 4 5 6 7:4 5 6 7 1 2 3:2 3 5 6 7 1:5 6 7 1 3:6 7 1 3:1 3 7 */ #include<bits/std ...

  6. 性能测试二十五:redis-cli 命令总结

    常用命令dbsize:查看redis中的kv数量 keys *:查看redis中所有的keyset key_1 v_1:新增一个key_1,包含v_1get key_1:查看key_1中的内容del ...

  7. bootstrap 强调相关的类

    .text-muted:提示,使用浅灰色(#999) .text-primary:主要,使用蓝色(#428bca) .text-success:成功,使用浅绿色(#3c763d) .text-info ...

  8. 08 IO库

    #include<iostream> #include<vector> #include<string> #include<fstream> using ...

  9. jquery.Inputmask 插件用法(中文API文档)

      jquery.Inputmask 可以算是input文本输入限制的神器了,内部融合了多种输入限制, 如金额,电话号码,身份证号,网关等..,并且还可以自定义规则. inputmask 据说最早起源 ...

  10. Android Rom build.prop文件详解

    # begin build properties   # autogenerated by buildinfo.sh   #以下内容由脚本在编译时自动产生 ro.build.id=6.7.7_97  ...