diff options
author | wiz <wiz@pkgsrc.org> | 2006-08-11 15:44:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-08-11 15:44:33 +0000 |
commit | 86a1ae9133a71fb3380a7d5a074af25bb12e9da3 (patch) | |
tree | 5580b72d61099fee38acd25eda7be2eba65966c6 /textproc/pxp/DESCR | |
parent | eaf4ccf609ffc15c5299eb44cc833f1039f3fee5 (diff) | |
download | pkgsrc-86a1ae9133a71fb3380a7d5a074af25bb12e9da3.tar.gz |
Initial import of pxp-1.1.6:
PXP 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.
Diffstat (limited to 'textproc/pxp/DESCR')
-rw-r--r-- | textproc/pxp/DESCR | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/pxp/DESCR b/textproc/pxp/DESCR new file mode 100644 index 00000000000..226bec7afae --- /dev/null +++ b/textproc/pxp/DESCR @@ -0,0 +1,22 @@ +PXP 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. |