Path to this page:
./
textproc/pxp,
Polymorphic XML parser, a validating XML-1.0 parser (OCaml)
Branch: pkgsrc-2012Q4,
Version: 1.2.3,
Package name: pxp-1.2.3,
Maintainer: pkgsrc-usersPXP is a validating XML parser for O'Caml. It strictly complies to
the XML-1.0 standard.
The parser is simple to call, usually only one statement (function
call) is sufficient to parse an XML document and to represent it
as object tree.
Once the document is parsed, it can be accessed using a class
interface. The interface allows arbitrary access including
transformations. One of the features of the document representation
is its polymorphic nature; it is simple to add custom methods to
the document classes. Furthermore, the parser can be configured
such that different XML elements are represented by objects created
from different classes. This is a very powerful feature, because
it simplifies the structure of programs processing XML documents.
Note that the class interface does not comply to the DOM standard.
It was not a development goal to realize a standard API (industrial
developers can this much better than I); however, the API is powerful
enough to be considered as equivalent with DOM. More important,
the interface is compatible with the XML information model required
by many XML-related standards.
Required to run:[
devel/pcre-ocaml] [
devel/ocaml-findlib] [
lang/ocaml] [
net/ocamlnet]
Required to build:[
devel/gmake]
Master sites:
SHA1: 4d0846f9f22d354740bb5a6c638da170e7a04e36
RMD160: 276b19d06d89927c751518a36a36cef4f3f62fe8
Filesize: 686.125 KB
Version history: (Expand)
- (2013-01-06) Package added to pkgsrc.se, version pxp-1.2.3 (created)