Meeseeks v0.13.1 Meeseeks.TupleTree View Source

HTML documents in Elixir/Erlang have traditionally been represented by a tuple-tree like:

{"html", [], [
  {"head", [], []}
  {"body", [], [
    {"h1", [{"id", "greeting"}], ["Hello, World!"]}]}]}

:mochiweb_html parsed HTML into this format, and the tools for selecting HTML used this format, so html5ever (the Elixir NIF) choose to output to this format as well.

Meeseeks accepts tuple-trees as input, creating Meeseeks.Documents from them.

Link to this section Summary

Link to this section Types

Link to this type

comment() View Source
comment() :: {:comment, String.t()}

Link to this type

doctype() View Source
doctype() :: {:doctype, String.t(), String.t(), String.t()}

Link to this type

element() View Source
element() :: {String.t(), [{String.t(), String.t()}], [node_t()]}

Link to this type

processing_instruction() View Source
processing_instruction() ::
  {:pi, String.t()}
  | {:pi, String.t(), [{String.t(), String.t()}]}
  | {:pi, String.t(), String.t()}