summaryrefslogtreecommitdiff
path: root/lib/render/emit_xml.mli
blob: 4d539d6132f548addb1fb99a61b227f01295bc5d (plain) (blame)
1
2
3
4
5
6
7
8
(* emit_xml.mli *)
(** Element-per-field XML. Attributes carry identity only (rite, year, date);
    everything else is an element, and there is no mixed content -- so a
    consumer's XPath never has to distinguish the two. Shape pinned by
    schema/colitur-v1.xsd. *)

val escape : string -> string
val year : Template.value -> string