Name : ocaml-xhtml
| |
Version : 20050620
| Vendor : Mageia_Org
|
Release : 20.mga8
| Date : 2021-01-10 17:16:27
|
Group : Development/OCaml
| Source RPM : ocaml-xhtml-20050620-20.mga8.src.rpm
|
Size : 0.50 MB
| |
Packager : pterjan < pterjan>
| |
Summary : OCaml module for creating valid XHTML 1.1 documents
|
Description :
XHTML is a OCaml module for creating valid XHTML 1.1 (and XHTML 1.0) documents. The validity of the pages is guaranteed by the OCaml type system. (NB: at the time of writing, forms support was not complete, only basic forms are implemented. Image maps are also not implemented yet.)
XHTML can be used for creating static documents, but it is not the most conventient way to key in text heavy documents. Instead, it should be most useful for database frontends etc.
XHTML is not a general XML processor that parses a DTD and checks the validity of a document with respect to this DTD. This lack in flexibility is made up for by the ability to perform prove validity by static type checking.
The implementation uses a XML module for generating well formed---but not necessarily valid with respect to some DTD---XML documents. The elements of type XML.elt and attributes of type XML.attrib are then hidden behind polymorphic phantom types type \'a elt = XML.elt and type \'a attrib = XML.attrib with \'a set to appropriate polymorphic variants.
This approach can be adopted easily to other XML document types: MathML and MusicML come to mind.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/8/x86_64/media/core/release |