Macaulay2 » Documentation
Packages » XML :: XML
next | previous | forward | backward | up | index | toc

XML -- an XML parser

Description

This experimental and tentative package provides an interface to the library libxml2 (see http://www.xmlsoft.org/), which is a parser for XML files (see http://en.wikipedia.org/wiki/XML). The package offers two ways of representing the result: as an object of class LibxmlNode, which is a pointer to the internal structure created and accessed by the library; or as a hashtable of class XMLnode (which currently represents only elements, attributes, and nodes).

This package was written to support the packages OpenMath and SCSCP.

Author

Version

This documentation describes version 1.1 of XML.

Source code

The source code from which this documentation is derived is in the file XML.m2.

Exports

For the programmer

The object XML is a package.