[Ocaml-pxp-users] Question about interaction style with complex documents

Alain Frisch Alain.Frisch at inria.fr
Tue May 31 06:11:01 PDT 2005


Richard Jones wrote:
> Part of the problem is trying to do pattern matching across multiple
> levels of Pxp document.  I end up with a lot of intractable code like
> the code attached below (and that's "simplified" with lots of helper
> functions).
>[...]
> (I guess the other possibility is something like CDuce).

Since you mention it, let me give this pointer:
http://yquem.inria.fr/~frisch/xml-schema/

The module Schema_loader is the most relevant one. It is an XML Schema
loader, written in the OCaml+CDuce extension. This is work in progress,
but you can already see how CDuce patterns help to inspect XML data.

Cheers,

Alain



More information about the Ocaml-pxp-users mailing list