Last update December 14, 2009

All Libraries /
Xml Libraries



Table of contents of this page
xmlp   
std.xml (D 2.x)   
tango.text.xml   
libxml2   
Mango XML Library   
SimpleXMLD   
TinyXML LED   
Arc/Yage Xml   
KXML   
Expat XML Parser   
Brian Hammond's port   
D Framework   
Miguel Ferreira Simões's XML Parser   
Carlos Santander Bernal's updates   
Related Projects   
Sofud   

xmlp    

Language VersionD1.xD2.x
Run-time LibraryPhobos TangoPhobos

std.xml (D 2.x)    

Language VersionD1.xD2.x
Run-time Library Phobos

tango.text.xml    

Language VersionD1.xD2.x
Run-time LibraryTango 

libxml2    

Language VersionD1.xD2.x
Run-time Library??

Mango XML Library    

Language VersionD1.xD2.x
Run-time Library??

SimpleXMLD    

Language VersionD1.xD2.x
Run-time Library? 

TinyXML LED    

Language VersionD1.xD2.x
Run-time Library??

Arc/Yage Xml    

Language VersionD1.xD2.x
Run-time Library??

KXML    

Language VersionD1.xD2.x
Run-time LibraryPhobos TangoPhobos

  • kxml svn repo
  • This xml parser is a node/tree based string parser.
  • It has a similar API to the Yage parser and should be nearly a drop-in replacement.
  • It uses no regex, so some parts are ugly(working on this), but that gives it the potential to be faster than those that do.
  • It supports <![CDATA[...]]> tags and reading of XML processing tags.
  • Basic XPath is supported, but not nearly the entire spec. Multiple attribute matching is supported, but not subnode matching.
  • This module is undergoing active development and should continue improving.

Expat XML Parser    

Language VersionD1.xD2.x
Run-time Library??

  • "Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)." (from the The Expat home page)

Brian Hammond's port    

Language VersionD1.xD2.x
Run-time Library??

From NG:digitalmars.D/2794:
I did a little while back. Wasn't too hard but then again it's not tested 100%. The little testing I did it was with GDC on Mac OS X 10.3

Upload:duser/expat-1.95.7-d-binding.tar.gz

It does not provide a class based wrapper. It just uses function pointers.

Brian

D Framework    

Language VersionD1.xD2.x
Run-time Library??

Miguel Ferreira Simões's XML Parser    

Language VersionD1.xD2.x
Run-time Library??

From NG:digitalmars.D/11849:

I've done this small and easy to learn xml parser.

It is not supposed to be Document Object Model compatible.

It will not validate xml against DTD's or xml schemas.

It will not parse DOCTYPE, processing instructions or comments. It will absorb those elements.

Carlos Santander Bernal's updates    

Language VersionD1.xD2.x
Run-time Library??

From NG:digitalmars.D/38394 and NG:digitalmars.D/38418 by Carlos Santander Bernal

I modified Miguel Ferreira Simoes XML library to use Mango instead of Phobos (except for std.string.letters and similar). Grab it from http://csb.50webs.com/xml.zip.

Related Projects    

Sofud    

Language VersionD1.xD2.x
Run-time Library??

Sofud, http://sofu.sourceforge.net/

Sofud is a parser library for the file format Sofu (don't confuse the names ).

Sofu has been created (by me) to allow reading and storing data, mainly for game type applications, in a simple and painless way. I believe for games it's a viable, more simple alternative to XML.

Source: NG:digitalmars.D/13546

FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: December 14, 2009 21:27 (diff))