(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2003, Lucent Technologies.                          *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: export_datamodel.mli,v 1.1 2003/06/09 15:28:26 simeon Exp $ *)

(* Module: Export_datamodel
   Description:
     This module exports a data model instance into an XML stream.
*)

(* Creates a stream representing the data model instance directly *)

val typed_xml_stream_of_datamodel : Datamodel._Value -> Sax_types.typed_xml_stream

(* Creates a stream representing the data model instance possibly
   wrapped into an element node to make it a well-formed XML if
   necessary. *)

val typed_wf_xml_stream_of_datamodel : Datamodel._Value -> Sax_types.typed_xml_stream

