Colin Sarsfield's Delphi Page
A while back I wrote some libraries for Delphi and placed them in the public domain. Click here to download. These libraries have also been further updated and enhanced by Tomislav Kardaš. His update includes the ability to load HTML files, which do not conform to the XML standard, and XPath support.
The readme for my version of the libraries follows:
Readme.txt - Release 4 (March 12, 2004)
This zip file contains some miscellaneous Delphi modules that I have released into the public domain for you to use at your own risk. Also included are some demo programs which show how to use some of the units.
Files
- Source\Dxfgrph.pas - defines a class for reading in and drawing .DXF files.
- Source\QSort.pas - unit with an optimized quick sort procedure like C's qsort.
- Source\StrLib.pas - unit full of miscellaneous string routines.
- Source\Utrace.pas - sends debugging messages to DTrace32.exe.
- Source\VQSort.pas - DUnit based unit tests for QSort.pas.
- Source\VStrLib.pas - DUnit based unit tests for StrLib.pas.
- Source\XMLdsgn.pas - design time code, registration of components and editors.
- Source\XMLFormat.pas - utility routines for formatting data in XML nodes.
- Source\XMLMap.pas - TXMLMap component that serve for loading/saving TDataSets from/to XML documents, It operates on the level of document TXMLNode object structure and can be used with TXMLDocument component.
- Source\XMLNode.pas - Base XML unit with TXMLNode, TXMLReader, TXMLWriter classes definition and TXMLDocument component that encapsulates all that functionality in one simple component for reading/writing and processing XML documents.
- Demo\XML - A demo program for the XML classes.
- Demo\DXF - A demo program for reading and drawing .DXF files.
Credits
Tomislav Kardaš (tomislav.kardas@pmx.hr), Zagreb, Croatia, Europe contributed major revisions and optimizations to the XML modules. See comments in XMLNode.pas for details.
Andrew Vogan (andrew@riosoftware.com) made contributions to the maintenance of many of these libraries.
If you have any questions, bug fixes, suggestions, checks, etc. you would like to send me, let me know.