Browse thread
[announce] XStream: streaming XML transformation
-
Alain Frisch
-
David MENTRE
- Alain Frisch
- Richard Jones
-
David MENTRE
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alain Frisch <Alain.Frisch@i...> |
| Subject: | Re: [Caml-list] [announce] XStream: streaming XML transformation |
Hello David, David MENTRE wrote: > It seems obvious but I want to be sure: can XStream generated code be > embedded in OCaml programs (native and bytecode)? Currently, XStream generates only a fully functional executable transformaion which reads its input from an XML file and send its output to the standard output. It would be quite simple to have it generate an OCaml module which exports a ``filter'' function (a transformer of XML event streams) if there is some demand for such a feature. > How XStream compares to OCamlDuce? OCamlDuce is intended to write large OCaml applications which need to manipulate XML data. XStream is really meant as an XML transformation tool. In particular, to achieve efficient streaming, XStream keeps control over the evaluation of the transformation as a whole. OCamlDuce, instead, relies on the regular OCaml evaluation mechanism. > So XStream cannot be used as a replacement to > OCamlDuce. Is it correct? Yes it is. Regards, Alain