![]() ![]() What are the differences between OXmlPDOM and OmniXML / MS XML? To use Delphi's default TXMLDocument with the fastest and cross-platform vendor. Use TXMLDocument(MyXmlDoc).DOMVendor := GetDOMVendor(sOXmlDOMVendor) if you want sOXmlDOMVendor (OXmlDOMVendor.pas): fastest DOM vendor for Delphi's own TXMLDocument.OXmlSeq is even a little bit faster than OXmlPDOM. This method combines DOM capabilities without the need to load the whole document at once. Read huge XML files into the DOM sequentionally. TXMLSeqParser (OXmlSeq.pas): Sequential DOM parser based on OXmlPDOM.pas.There is some performance and memory consumption penalty, though. IXMLDocument (OXmlCDOM.pas): TObject-based DOM according to the W3C DOM Level 1 specification.įor those who don't like the "old-school" approach of OXmlPDOM.pas.The fastest and most memory-friendly DOM for Pascal. (Not strict - some small changes have been made to maximize performance). IXMLDocument (OXmlPDOM.pas): Record-based DOM according to the W3C DOM Level 1 specification.It's very fast and needs practically no memory. TSAXParser (OXmlSAX.pas): Event-based parser according to the SAX specification.Īnonymous methods are supported for modern Delphi versions, too.If performance is crucial for you, use SAX which has the same performance but is much more comfortable to work with. All other classes use it.ĭon't use it directly. TXMLReader (OXmlReadWrite.pas): Basic XML reader.Use it directly if performance is crucial for you. TXMLWriter (OXmlReadWrite.pas): Basic XML writer.OXml features 7 classes/units for working with XML documents: That means that the encoding is read and set from the tag during both reading and writing. Supports all on the platform available encodings (UTF-16, UTF-8, single-byte ISO, WIN, KOI8.) by all parsers automatically.If not wanted, OXml throws an exception when you are trying to read/write an invalid XML document. OXml is able to read and write invalid XML documents and correct errors in them (if wanted).Faster than everything else on all platforms thanks to various optimizations.Fast, powerful and easy-to-use namespace support for reading documents.Full unicode support even for D5-D2007.No dependency on a visual library like VCL, LCL or FMX. ![]() No external dll libraries are required.Lazarus on Win32, Win64, Linux, OSX (Lazarus 1.0 and newer).Delphi ARC/NEXTGEN for Linux (Delphi 10.2 and newer).Delphi ARC/NEXTGEN for iOS and Android (Delphi XE4 and newer).Delphi for Win32, Win64 and OSX (Delphi 5 and newer).Use the same XML library for all your Pascal projects including:.OXml supports the latest Lazarus/FPC on all platforms (tested Win32, Win64, Linux, MacOSX). OXml supports all Delphi versions starting from Delphi 5 on all platforms: Win32, Win64, OSX, iOS, Android, Linux. Create object pascal binding to complex XSD documents.RTTI serialization/deserialization of JSON objects.direct JSON reader and writer with JSON serialization and deserialization.JSON Event ("SAX") parser with class handlers for specific objects.JSON Tree ("DOM") with JSONPath support.lots of useful helper classes like integer and string lists and dictionaries.fast buffered text reader and writer with encoding support.vendor for Delphi's XmlIntf.TXMLDocument.XML serializer (with and without enhanced RTTI).XML SAX parser with class handlers for specific objects.XML DOM with XPath and namespace support.The aim of OXml is to be the most versatile and fastest XML library for the Pascal language. I took some inspiration from OmniXML but wrote the library completely from scratch. OXml is a new XML library for Delphi and Lazarus, developed in late 2013. OXml - The next generation XML library for Pascal (Delphi, FPC, Lazarus) Latest Version Please enable JavaScript for best user experience. Bitte aktivieren Sie JavaScript, um alle Möglichkeiten dieser Seite nutzen zu können. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |