All Libraries /
Xml Libraries
xmlp
|
std.xml (D 2.x)
|
tango.text.xml
|
- Part of
DsourceProject:tango - Tango - Pull parser with a Document interface, SAX interface, and querying/editing capabilities.
- Extremely fast -
XML Benchmark
libxml2
|
Mango XML Library
|
DsourceProject:mango- Mango's SVN has a beta SAX parser.
SimpleXMLD
|
SimpleXMLD Official site.- Inspired by
PHPs SimpleXML. - Cloud easily access and traverse the XML file like a tree.
- First release was 0.0.1 at 2007/10/01
TinyXML LED
|
http://icube.freezope.org/tinyxml_led/- It's a porting of TinyXML from C++ to D, a tiny DOM implementation.
Arc/Yage Xml
|
Arc version (multiple modules)
Yage version (one module): "This version has been modified to compile under recent versions of dmd and consolidated into a single module."- Based on AndyFriesen's unmaintained xmld (which was placed in the public domain).
- Does *NOT* support XML's CDATA element as defined here:
http://www.w3schools.com/Xml/xml_cdata.asp
hat tip
KXML
|
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
|
- "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
|
- 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
|
- a framework library for D language that is a collection of various libraries (gui, database, xml etc.)
- provides some functionality for the Expat XML library
http://sourceforge.net/projects/dframework/
Miguel Ferreira Simões's XML Parser
|
- 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
|
- 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
|
- 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