Libraries
WebHub
ZaphodsMap
TPack
NativeXml
ldiRegEx
|
|
| | Class | Overview | Inheritance | | |
Declaration
{$IFDEF UNICODE}
TNativeXml = TWideNativeXml;
{$ELSE}
TNativeXml = TUtf8NativeXml;
{$ENDIF}
Unit
Description
A cross-platform class for creating, maintaining and using an Xml document.
Licensing
The TNativeXml component was created by simdesign in the Netherlands. It is distributed in object (DCU) form by HREF Tools Corp., with explicit permission from the original author. Full object pascal source is available through the author, and temporarily while he is recovering from a horseback riding accident, in HREFShop.
Platforms
The TNativeXml component works with Delphi for win32, Delphi for Dot Net, and Kylix 3.
Full Unicode support is included in Delphi 2009.
Example
The following code could be used to determine whether TNativeXml compiles in your version of Delphi.
uses
NativeXml;
procedure TForm1.Button1Click(Sender: TObject);
var
ADoc: TNativeXml;
begin
ADoc := nil;
try
ADoc := TNativeXml.Create;
ShowMessage(IntToStr(ADoc.Root.NodeCount)); // should show 0
finally
FreeAndNil(ADoc);
end;
end;
Copyright © 1995-2010 HREF Tools Corp. All Rights Reserved Worldwide. This page updated: 04-Feb-2009.
Running DynHelp.exe v1.2.0.6 on WebHub-v2.125 built by D14
Calc time: 187 ms
Running DynHelp.exe v1.2.0.6 on WebHub-v2.125 built by D14
Calc time: 187 ms

TNativeXml Class