Meeseeks v0.15.0 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!"]}]}]}

To parse a tuple tree use Meeseeks.parse(tuple_tree, :tuple_tree)

Link to this section Summary

Link to this section Types

Link to this type


View Source
child_node_t() :: comment() | element() | processing_instruction() | text()
Link to this type


View Source
comment() :: {:comment, String.t()}
Link to this type


View Source
doctype() :: {:doctype, String.t(), String.t(), String.t()}
Link to this type


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