95a2f54683
git-svn-id: https://svn.code.sf.net/p/apophysis7x/svn/trunk@1 a5d1c0f9-a0e9-45c6-87dd-9d276e40c949
72 lines
1.6 KiB
PHP
72 lines
1.6 KiB
PHP
{ unit NativeXml.inc
|
|
|
|
Nativexml a small-footprint implementation to read and write XML documents
|
|
natively from Delpi code. NativeXml has very fast parsing speeds.
|
|
|
|
Author: Nils Haeck M.Sc.
|
|
Copyright (c) 2007 - 2010 Simdesign B.V.
|
|
|
|
It is NOT allowed under ANY circumstances to publish, alter or copy this code
|
|
without accepting the license conditions in accompanying LICENSE.txt
|
|
first!
|
|
|
|
This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
|
|
ANY KIND, either express or implied.
|
|
|
|
Please visit http://www.simdesign.nl/xml.html for more information.
|
|
}
|
|
// Delphi and BCB versions
|
|
|
|
// Freepascal (MK)
|
|
{$ifdef FPC}
|
|
{$MODE DELPHI}
|
|
{$define D7UP}
|
|
{$endif FPC}
|
|
//Delphi 7
|
|
{$ifdef VER150}
|
|
{$define D7UP}
|
|
{$endif}
|
|
//Delphi 8
|
|
{$ifdef VER160}
|
|
{$define D7UP}
|
|
{$endif}
|
|
// Delphi 2005
|
|
{$ifdef VER170}
|
|
{$define D7UP}
|
|
{$endif}
|
|
// Delphi 2006
|
|
{$ifdef VER180}
|
|
{$define D7UP}
|
|
{$endif}
|
|
// Delphi 2007 - NET
|
|
{$ifdef VER190}
|
|
{$define D7UP}
|
|
{$endif}
|
|
// Delphi 2009
|
|
{$ifdef VER200}
|
|
{$define D7UP}
|
|
{$define D12UP}
|
|
{$endif}
|
|
// Delphi 2010
|
|
{$ifdef VER210}
|
|
{$define D7UP}
|
|
{$define D12UP}
|
|
{$endif}
|
|
// Delphi XE
|
|
{$ifdef VER220}
|
|
{$define D7UP}
|
|
{$define D12UP}
|
|
{$define D15UP}
|
|
{$endif}
|
|
|
|
// Uncomment to save memory space for large documents if you don't need tags.
|
|
// Tags are an additional integer field that can be used by the application.
|
|
{$define USETAGS}
|
|
|
|
// uncomment if you do not want to include the Graphics unit.
|
|
{$define USEGRAPHICS}
|
|
|
|
// uncomment if you do not want line number/position info from the source file
|
|
{$define SOURCEPOS}
|
|
|