package tyxml
Module Tyxml_name
Gives the tyxml names for HTML elements and attributes.
The transformations are the following:
- Valid letters in OCaml identifiers are kept.
- Everything else is turn into an underscore '_'.
Turn the given element name into a valid identifier.
Follow the to_ocaml convention and lowercase the first letter.
Turn the given attribute name into a valid identifier.
Follow the to_ocaml convention and add "a_" at the beginning.