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.

Citation

If you have used this package in your research, please cite it as follows:

@misc{XMLSource,
  title = {{XML: an XML parser. Version~1.1}},
  author = {Daniel R. Grayson},
  howpublished = {A \emph{Macaulay2} package available at
    \url{https://github.com/Macaulay2/M2/tree/master/M2/Macaulay2/packages}}
}

Exports

For the programmer

The object XML is a package, defined in XML.m2.


The source of this document is in XML.m2:662:0.