module Tyxml_name:sig..end
Gives the tyxml names for HTML elements and attributes.
val to_ocaml : string -> stringThe transformations are the following:
val ident : string -> stringTurn the given element name into a valid identifier.
Follow the to_ocaml convention and lowercase the first letter.
val attrib : string -> stringTurn the given attribute name into a valid identifier.
Follow the to_ocaml convention and add "a_" at the beginning.
val polyvar : string -> stringTurn the given name into a valid Polymorphic variant name.
Follow the to_ocaml convention, uppercase the first letter and add "`".