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

XML -- an XML parser


This experimental and tentative package provides an interface to the library libxml2 (see, which is a parser for XML files (see 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.



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.


For the programmer

The object XML is a package.