English

SimpleXML.pas (Version 2013-04-16)

SimpleXML.pas ist eine Bibliothek zum Bearbeiten von XML Daten. Dies ist eine überarbeitete Version der SimpleXML.pas welche ursprünglich von Michael Vlasov im Jahr 2003 veröffentlicht wurde. Es handelt sich um eine der kompaktesten und schnellsten XML Bibliotheken die für Delphi verfügbar sind. Die neue Version ist nicht vollständig kompatible zur alten Version, hauptsächlich weil nun die Zeichensatzumwandlung intern vorgenommen wird. Das binäre Speicherformat hat sich ebenfalls geändert. Die Bibliothek kann Ansi- und UTF8 kodierte Daten verarbeiten. UTF16 Daten-Dateien werden nicht unterstützt.

Die Unit wurde getestet mit:
Delphi Versionen: 6, 2007, 2009, 2010, XE4(win32/win64).


Download SimpleXML.pas (Version 2013-04-03)


Download SimpleXML.pas (Beta Version 2013-04-16)


The contents of the file SimpleXML.pas are used with permission, subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/MPL-1.1.html

Change log
2009-12-16(so)Page created
2009-12-23(so)CloneNode copy data
2009-12-27(so)Faster parsing and saving
2009-12-29(so)BOM support
2010-01-03(so)Bugs in russian error messages fixed
2010-04-14(so)ExchangeChilds added
2010-12-06(so)Minor Changes in error messages
2012-04-16(so)BOM support added
2012-07-16(so)Error message in the case of 4-Byte-Unicode (not supported)
2012-11-12(vz)Reformed logic saved long attributes - thanks to Vadim Zharkov
2012-11-23(so)Bug: It is not possible to copy aNode from one Doc to another
2013-02-23(so)Bug in Get_Text
2013-03-24(lg)Some new features - thanks to Lukas Gebauer
- Ansi-version can use UTF8-Strings (see XMLDefaultcodepage)
- Error messages with line and columne numbers
- OnTagBegin/OnTagEnd-Events
- 4 Byte-UTF8-Decoding
2013-04-03(vb)DateTime strings are now somewhat more W3C compliant - thanks to Vladimir Belyaev
2013-04-14(so)beta version "utf8"
- Internal data is always utf8
- corrected russian translations - thanks to Vladimir Belyaev
- simple demo included
2013-04-16(so)More speed for TXMLSaver and UTF-8 converter