Results 1 to 10 of 10

Thread: XML Parsers

  1. #1

    Question XML Parsers

    Can you recomend a good xml parser? better if it is a fluent one. Native pascal, open source and little footprint are a requirements.

  2. #2
    Quote Originally Posted by pitfiend View Post
    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/

  3. #3
    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.

  4. #4
    Quote Originally Posted by Stoney View Post
    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.
    Delphi user, thanks for the links. Honestly I tried to understand OmniXML, found it confusing.

  5. #5
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,246
    Blog Entries
    2
    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 ::

  6. #6
    Quote Originally Posted by AthenaOfDelphi View Post
    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?
    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 .

  7. #7
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,246
    Blog Entries
    2
    Fair enough :-)

    I would be interested to know what your final choice is.
    :: AthenaOfDelphi :: My Blog :: My Software ::

  8. #8
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    The one that is bundled with FPC is fairly decent from what I can tell. I'm actually just looking at it as a good alternative to binary files for cross-platform development.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  9. #9
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    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.

  10. #10
    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.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •