Module Values.MappingSource

Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

Sourcetype nonrec t = {
  1. templateLanguage : MappingTemplateLanguage.t;
    (*

    The transformation language for the template, either XSLT or JSONATA.

    *)
  2. template : MappingTemplate.t option;
    (*

    A string that represents the mapping template, in the transformation language specified in templateLanguage.

    *)
}
Sourceval context_ : string
Sourceval make : ?template:??? -> templateLanguage:MappingTemplateLanguage.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of MappingTemplate.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t