Can you recomend a good xml parser? better if it is a fluent one. Native pascal, open source and little footprint are a requirements.
Can you recomend a good xml parser? better if it is a fluent one. Native pascal, open source and little footprint are a requirements.
OmniXML.... Native Pascal, open source....
http://code.google.com/p/omnixml/
If you are using FreePascal, why not use the XML units that come with FreePascal? There is a tutorial here: http://wiki.freepascal.org/XML_Tutorial
If you need Delphi support you should try Very Simple XML: http://blog.spreendigital.de/2011/11...er-and-writer/ Check out the first omment on that blog article for a FPC 2.6 + Delphi compatible version.
Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)
Programmer: A device for converting coffein into software.
Hi pitfiend,
I've always used the standard Microsoft one. Can be a pain in the butt but when you've gotten used to it, it's not so bad.
Any reason why you don't want to use it?
:: AthenaOfDelphi :: My Blog :: My Software ::
Dependencies, I don't like them and want maximum portability. As I'm planning to eventually switch off Delphi, I want something that's not a pain in the butt to maintain, also want something flexible too (that's why fluent xml comes to my mind).
If I don't find anything that comply with my needs, maybe going to build that library myself. Hope to be lucky .
Fair enough :-)
I would be interested to know what your final choice is.
:: AthenaOfDelphi :: My Blog :: My Software ::
Wow, those are some nice finds guys. Checking out omnixml first since it looks nice - I had a few snippets for the standard FPC stuff. I'll see if I can dig any up in case they're of use to you guys
Of course, I do prefer managing XML from the ground up - but thats me
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
Here's a brief list of the ones I have tried:
- NativeXML (http://www.simdesign.nl/xml.html)
- XMLVerySimple (http://blog.spreendigital.de/2011/11...der-and-writer)
- XMLParser (http://www.destructor.de)
- OmniXML (http://code.google.com/p/omnixml)
- SimpleXML (https://gitorious.org/delphi/simplexml)
- KDSXML (http://sourceforge.net/projects/kdsxml)
- SAX for Pascal (http://saxforpascal.sourceforge.net)
- DOM XML (the one that comes with delphi)
Some of them are DOM Model others are SAX, and some doesn't have a particular model. Big trouble of some is they are slow or have a big footprint. For the moment I haven't decide yet which one to use. Still need one very fast and able to manage really big xml files. BTW, only Omni and Delphi (MSDOMXML) has fluent access.
Bookmarks