Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
XML processing library for Open Dylan
Dylan
Branch: master
Failed to load latest commit information.
ext
registry/generic
tests
xml-test
.gitignore
.gitmodules
LICENSE
README
collect.dylan
interface.dylan
latin1-entities.dylan
library.dylan
printing.dylan
productions.dylan
simple-xml.dylan
stream-parser.dylan
transform.dylan
xml-parser.lid

README

Native Dylan XML-parser library

We present a native Dylan XML parser library.

This parser comes with additional features.  You may transform the internal
representation to any form desired (XML, HTML, text, what-have-you).  You may
also extract elements that have a certain shape (e.g. "//dvd/title").  You
may index into attributes or immediate child elements using Dylan syntax.  And,
you may output the XML to a stream, transformed or in its original state.
Please read the code in collect.dylan and xml-test/ to see how to do both.

Of course, this XML parser is very much a work in progress -- this library
neither checks for validity nor for well-formedness; perhaps those checks won't
be added for a long time to come.  However, it is currently being used in
production-quality commercial and non-commercial projects.

xml-test/ converts an XML doc to an HTML-readable one with links to entities
(if they have not be expanded-out in the resulting document).

REQUIRED LIBRARIES
==================

To compile the xml-parser sources and to create an executable using the
xml-parser library, you will need the 'meta' library which has been included
here as a git submodule.

HISTORY
=======

Chris Double started this effort, and he developed an initial, working, parser
using the Dylan META library from David Lichteblau.  He also developed the
Dylan XML class hierarchy (along the lines of the DOM), and had an algorithm
for parsing going.

Andreas Bogk developed the META parse tree into (mostly full) compliance with
the XML spec (BNF?).

Doug Auclair offered suggestions for improvements to META, integrated Andreas'
work with Chris', created some macros to ease the parsing effort, implemented
the transform functionality and entities (both parsing and substituting), and
fixed bugs.

Doug Auclair
<doug@cotilliongroup.com>

Something went wrong with that request. Please try again.