Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /smlnj-lib/trunk/XML/README
ViewVC logotype

View of /smlnj-lib/trunk/XML/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3873 - (download) (annotate)
Thu Mar 27 15:35:08 2014 UTC (5 years, 4 months ago) by jhr
File size: 846 byte(s)
  adding XML library
This directory contains a small library for parsing XML files.  It does
not support validation (e.g., against a DTD or Schema).  The basic idea
is that the user supplies a "schema" module that describes the elements
and attribute representation of an XML document.  From this, one builds
an XML tree representation

	structure MyXMLTree = XMLTreeFn (MyXMLSchema);

and an XML parser

	structure MyXMLParser = XMLParserFn (MyXMLTree);

A generic XML schema (that allows any element name) is provided.

For a more complete library for XML processing, use the fxp library.

TODO:
  handle internal subsets in "<!DOCTYPE ...>" definitions
  handle processing markup ("<? ... ?>")
  support a SAX-type parsing interface
  support a DOM API a la TinyXML (http://www.grinninglizard.com/tinyxml)
  or TinyXML-2 (http://www.grinninglizard.com/tinyxml2/)


root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0