Skip to content

Releases: betrixed/dlang-xml

D-Language XML

02 Feb 12:02
Compare
Choose a tag to compare
D-Language XML Pre-release
Pre-release

==Validating XML Parser. Tested against XML Conformance Test Suite.
Can also parse HTML.

Parser has two modes of collecting the parse information.
Inputs flexible -- files (of various byte-orders, 8 / 16 bit character types. -- slices (arrays of characters).
Parser can call an event delegate with class XmlEvent(T) (All class templates tested with char and wchar)
Or can call method parseOne(), in a loop and access the internal XmlEvent(T) class for parsed data.
Full implementation DOM classes with Node interfaces, DTD, validation and entity processing.
Example of Simple DOM using D class and array, similar to std.xml.
SAX event processing with selective delegates for element names and event types.