package xlsx2csv

  1. Overview
  2. Docs

Source file xmlt.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Nmap = Map.Make (struct
  type t = string

  let compare = String.compare
end)

type xmlt = [ `Node of string * string Nmap.t * xmlt list | `Data of string ]
type encoding = [ `UTF_8 | `UTF_16 | `UTF_16BE | `UTF_16LE ]

let encoding_to_xmlm_encoding : encoding -> Xmlm.encoding = function
  | `UTF_8 -> `UTF_8
  | `UTF_16 -> `UTF_16
  | `UTF_16LE -> `UTF_16LE
  | `UTF_16BE -> `UTF_16BE
OCaml

Innovation. Community. Security.