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

child_node_t()

View Source
child_node_t() :: comment() | element() | processing_instruction() | text()
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

processing_instruction()

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